Skip to content

Commit

Permalink
Fix Windows CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Sep 9, 2024
1 parent 02f9bc8 commit 8933596
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
rm -rf "/c/Program Files/dotnet"
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
- name: Install nasm dependency
- name: Install nasm dependency (Windows)
run: |
choco install nasm
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
Expand Down
26 changes: 25 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config

- name: Free disk space (Windows)
if: runner.os == 'Windows'
run: |
rm -rf "/c/Program Files/dotnet"
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
- name: Install nasm dependency (Windows)
if: runner.os == 'Windows'
run: |
choco install nasm
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
- name: Checkout repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -312,7 +324,19 @@ jobs:
docker-images: true
swap-storage: true

- name: Install runner dependencies
- name: Free disk space (Windows)
if: runner.os == 'Windows'
run: |
rm -rf "/c/Program Files/dotnet"
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
- name: Install nasm dependency (Windows)
if: runner.os == 'Windows'
run: |
choco install nasm
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
- name: Install runner dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config

Expand Down

0 comments on commit 8933596

Please sign in to comment.