Skip to content

Commit 19714c1

Browse files
committed
Use install ninja action
1 parent 224b69b commit 19714c1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build-and-test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Linux Tests
22

33
on:
44
push:

.github/workflows/build-and-test-windows.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Windows Tests
22

33
on:
44
push:
@@ -19,12 +19,13 @@ jobs:
1919
- name: Setup winget
2020
uses: Cyberboss/install-winget@v1
2121

22+
- name: Setup Ninja
23+
uses: ashutoshvarma/setup-ninja@master
24+
2225
- name: Install build tools
2326
run: |
24-
winget install Microsoft.VisualStudio.BuildTools
27+
winget install Microsoft.VisualStudio.BuildTools --accept-source-agreements --accept-package-agreements --silent
2528
winget install -e --id Kitware.CMake --accept-source-agreements --accept-package-agreements --silent
26-
winget install -e --id Ninja-build.Ninja --accept-source-agreements --accept-package-agreements --silent
27-
winget install --id Git.Git -e --source winget --accept-source-agreements --accept-package-agreements --silent
2829
2930
- name: Run build script
3031
run: |

0 commit comments

Comments
 (0)