Skip to content

Commit

Permalink
github: Explicitly install ninja where needed in Windows jobs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mstorsjo committed Sep 20, 2023
1 parent dc034e2 commit 6c3f283
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ jobs:
- x86_64
- i686
steps:
- name: Install dependencies
run: |
choco install ninja
- uses: actions/download-artifact@v3
with:
name: windows-ucrt-${{matrix.arch}}-toolchain
Expand Down Expand Up @@ -397,6 +400,9 @@ jobs:
- { arch: i686, asmflag: }
- { arch: x86_64, asmflag: -m64 }
steps:
- name: Install dependencies
run: |
choco install ninja
- uses: actions/download-artifact@v3
with:
name: windows-ucrt-${{matrix.arch}}-toolchain
Expand Down Expand Up @@ -458,6 +464,9 @@ jobs:
- x86_64
- i686
steps:
- name: Install dependencies
run: |
choco install ninja
- uses: actions/download-artifact@v3
with:
name: windows-ucrt-${{matrix.arch}}-toolchain
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-libcxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- x86_64
- i686
steps:
- name: Install dependencies
run: |
choco install ninja
- name: Download toolchain
uses: dawidd6/action-download-artifact@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
needs: [prepare]
runs-on: windows-latest
steps:
- name: Install dependencies
run: |
choco install ninja
- name: Download toolchain
uses: dawidd6/action-download-artifact@v2
with:
Expand Down

0 comments on commit 6c3f283

Please sign in to comment.