Skip to content

Commit

Permalink
.github: add ninja to MSYS2 downloads
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 get it from MSYS2 instead.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed Sep 22, 2023
1 parent 75337b4 commit 655b959
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,17 @@ jobs:
run: pip install -r zephyr/scripts/requirements.txt

# 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:
msystem: MSYS
install: gcc openssl-devel
# Ninja has been coming and going, see #8250
install: gcc openssl-devel ninja
path-type: inherit

- name: Build
Expand Down

0 comments on commit 655b959

Please sign in to comment.