Skip to content

Commit 37b9a03

Browse files
committed
Install ninja on windows-mingw
1 parent 78acd26 commit 37b9a03

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
run: |
6363
sudo apt-get install ninja-build -y
6464
65-
- name: Install cross-compilation tools
65+
- name: Install cross-compilation tools (linux-aarch64)
6666
if: matrix.target.id == 'linux-aarch64'
6767
shell: bash
6868
run: |
6969
sudo apt-get install gcc-12-aarch64-linux-gnu g++-12-aarch64-linux-gnu gcc-12-multilib binutils-aarch64-linux-gnu libgcc-12-dev-arm64-cross libstdc++6-arm64-cross -y
7070
71-
- name: Install cross-compilation tools
71+
- name: Install cross-compilation tools (linux-riscv64)
7272
if: matrix.target.id == 'linux-riscv64'
7373
shell: bash
7474
run: |
@@ -80,11 +80,12 @@ jobs:
8080
run: |
8181
brew install ninja
8282
83-
#- name: Install `ninja` on Windows
84-
# if: startsWith(matrix.target.id, 'windows-')
85-
# shell: bash
86-
# run: |
87-
# choco install ninja
83+
- name: Install `ninja` on Windows
84+
if: matrix.target.id == 'windows-amd64-mingw'
85+
shell: bash
86+
run: |
87+
choco install ninja
88+
8889
- name: Setup MSVC (Windows)
8990
uses: ilammy/msvc-dev-cmd@v1
9091
if: matrix.target.id == 'windows-amd64-msvc'

0 commit comments

Comments
 (0)