Skip to content

Commit

Permalink
.github: build-windows: choco install ninja
Browse files Browse the repository at this point in the history
Ninja seems to have just mysteriously disappeared from
https://github.com/actions/runner-images/blob/win22/20230918.1/images/win/Windows2022-Readme.md
See thesofproject#8250 for more details.

Let's try to install it explicitly.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
(cherry picked from commit 8eedfe4)
  • Loading branch information
marc-hb committed Oct 26, 2023
1 parent fd969bc commit bc315c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,18 @@ jobs:
working-directory: ${{ github.workspace }}/workspace
run: pip install -r zephyr/scripts/requirements.txt

# Ninja has been coming and going, see #8250
- name: choco install ninja
run: |
choco install ninja
ninja.exe --version
# MSYS2 provides gcc x64_86 toolchain & openssl
# Installs in D:/a/_temp/msys64
#
# Note there is already C:/msys64/ provided by
# https://github.com/actions/runner-images/blob/win22/20230918.1/images/win/Windows2022-Readme.md
# Is it not good enough? Maybe it could save 20-30s.
- name: Initialize MSYS2
uses: msys2/setup-msys2@v2
with:
Expand Down

0 comments on commit bc315c6

Please sign in to comment.