From e0963c13a5b960b7be86fef894dc4d7e31a61850 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 22 Sep 2023 11:21:31 -0700 Subject: [PATCH] .github: build-windows: choco install ninja Ninja seems to have just mysteriously disappeared from https://github.com/actions/runner-images/blob/win22/20230918.1/images/win/Windows2022-Readme.md See #8250 for more details. Let's try to install it explicitly. Signed-off-by: Marc Herbert --- .github/workflows/zephyr.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index c506f68f8f23..af0b3e553d74 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -329,7 +329,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: