Skip to content

Commit daea68f

Browse files
author
Wouter Tichelaar
committed
Another attempt
1 parent 618a33e commit daea68f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/dependencies.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
choco install make

.github/workflows/dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sudo apt-get update
2+
sudo apt-get install build-essential

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
- linux/arm64
1818
- linux/amd64
1919
- windows/amd64
20+
include:
21+
- os: windows-latest
22+
script_name: .\dependencies.cmd
23+
- os: ubuntu-latest
24+
script_name: ./dependencies.sh
2025
steps:
2126
- name: Checkout Repo
2227
uses: actions/checkout@v3
2328
- name: Dependencies
2429
id: dependencies
25-
run: |
26-
if [ ${{ runner.os }} == 'Linux' ]; then
27-
sudo apt-get update
28-
sudo apt-get install build-essential
29-
elif [ ${{ runner.os }} == 'Windows' ]; then
30-
choco install make
30+
run: ${{ matrix.script_name }}
3131
- name: Build
3232
id: build
3333
run: |

0 commit comments

Comments
 (0)