Skip to content

Commit 8933596

Browse files
committed
Fix Windows CI workflows
1 parent 02f9bc8 commit 8933596

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
rm -rf "/c/Program Files/dotnet"
192192
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
193193
194-
- name: Install nasm dependency
194+
- name: Install nasm dependency (Windows)
195195
run: |
196196
choco install nasm
197197
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'

.github/workflows/release.yml

+25-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ jobs:
4242
if: runner.os == 'Linux'
4343
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
4444

45+
- name: Free disk space (Windows)
46+
if: runner.os == 'Windows'
47+
run: |
48+
rm -rf "/c/Program Files/dotnet"
49+
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
50+
51+
- name: Install nasm dependency (Windows)
52+
if: runner.os == 'Windows'
53+
run: |
54+
choco install nasm
55+
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
56+
4557
- name: Checkout repository
4658
uses: actions/checkout@v4
4759

@@ -312,7 +324,19 @@ jobs:
312324
docker-images: true
313325
swap-storage: true
314326

315-
- name: Install runner dependencies
327+
- name: Free disk space (Windows)
328+
if: runner.os == 'Windows'
329+
run: |
330+
rm -rf "/c/Program Files/dotnet"
331+
rm -rf "/c/Program Files (x86)/Microsoft Visual Studio/2019"
332+
333+
- name: Install nasm dependency (Windows)
334+
if: runner.os == 'Windows'
335+
run: |
336+
choco install nasm
337+
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
338+
339+
- name: Install runner dependencies (Linux)
316340
if: runner.os == 'Linux'
317341
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
318342

0 commit comments

Comments
 (0)