Skip to content

Commit 21c3f29

Browse files
committed
Update runner for MinGW static CI and install cmake in msys2 shell.
1 parent cb15b06 commit 21c3f29

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/mingw_static.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
build:
2020
name: MinGW batteries-included
2121
runs-on: windows-latest
22-
22+
2323
defaults:
2424
run:
2525
shell: 'msys2 {0}'
@@ -29,6 +29,9 @@ jobs:
2929
- uses: msys2/setup-msys2@v2
3030
with:
3131
release: false
32+
cache: true
33+
install: >-
34+
cmake
3235
- name: Configure CMake
3336
run: |
3437
cmake --version
@@ -41,7 +44,7 @@ jobs:
4144
-Dlslgitrevision=${{ github.sha }} \
4245
-Dlslgitbranch=${{ github.ref }} \
4346
-DLSL_OPTIMIZATIONS=OFF \
44-
-G 'MSYS Makefiles'
47+
-G Ninja
4548
4649
- name: make
4750
run: cmake --build build --target install --config Release -j --verbose

0 commit comments

Comments
 (0)