Skip to content

Commit

Permalink
Another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter Tichelaar committed May 27, 2024
1 parent 618a33e commit daea68f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependencies.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
choco install make
2 changes: 2 additions & 0 deletions .github/workflows/dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo apt-get update
sudo apt-get install build-essential
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
- linux/arm64
- linux/amd64
- windows/amd64
include:
- os: windows-latest
script_name: .\dependencies.cmd
- os: ubuntu-latest
script_name: ./dependencies.sh
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Dependencies
id: dependencies
run: |
if [ ${{ runner.os }} == 'Linux' ]; then
sudo apt-get update
sudo apt-get install build-essential
elif [ ${{ runner.os }} == 'Windows' ]; then
choco install make
run: ${{ matrix.script_name }}
- name: Build
id: build
run: |
Expand Down

0 comments on commit daea68f

Please sign in to comment.