Skip to content

Commit 6c3f283

Browse files
committed
github: Explicitly install ninja where needed in Windows jobs
Ninja isn't documented as one of the tools provided by the CI runner images, but it used to be available implicitly installed before in the windows-2022 images. Since the 20230918.1.0 image update, it no longer is available out of the box; see actions/runner-images#8343.
1 parent dc034e2 commit 6c3f283

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ jobs:
342342
- x86_64
343343
- i686
344344
steps:
345+
- name: Install dependencies
346+
run: |
347+
choco install ninja
345348
- uses: actions/download-artifact@v3
346349
with:
347350
name: windows-ucrt-${{matrix.arch}}-toolchain
@@ -397,6 +400,9 @@ jobs:
397400
- { arch: i686, asmflag: }
398401
- { arch: x86_64, asmflag: -m64 }
399402
steps:
403+
- name: Install dependencies
404+
run: |
405+
choco install ninja
400406
- uses: actions/download-artifact@v3
401407
with:
402408
name: windows-ucrt-${{matrix.arch}}-toolchain
@@ -458,6 +464,9 @@ jobs:
458464
- x86_64
459465
- i686
460466
steps:
467+
- name: Install dependencies
468+
run: |
469+
choco install ninja
461470
- uses: actions/download-artifact@v3
462471
with:
463472
name: windows-ucrt-${{matrix.arch}}-toolchain

.github/workflows/test-libcxx.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
- x86_64
4949
- i686
5050
steps:
51+
- name: Install dependencies
52+
run: |
53+
choco install ninja
5154
- name: Download toolchain
5255
uses: dawidd6/action-download-artifact@v2
5356
with:

.github/workflows/test-llvm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
needs: [prepare]
4343
runs-on: windows-latest
4444
steps:
45+
- name: Install dependencies
46+
run: |
47+
choco install ninja
4548
- name: Download toolchain
4649
uses: dawidd6/action-download-artifact@v2
4750
with:

0 commit comments

Comments
 (0)