File tree Expand file tree Collapse file tree 1 file changed +26
-14
lines changed Expand file tree Collapse file tree 1 file changed +26
-14
lines changed Original file line number Diff line number Diff line change 11name : MinGW Windows static test
22
33on :
4- # push:
5- # branches: ['*']
6- # paths:
7- # - '**'
4+ push :
5+ branches : ['*']
6+ paths :
7+ - ' src'
8+ - ' include'
9+ - ' cmake'
810# - '!docs/**'
911# - '!.github/**'
10- # - '.github/workflows/mingw_static.yml'
11- # pull_request:
12+ - ' .github/workflows/mingw_static.yml'
13+ pull_request :
1214 workflow_dispatch :
1315
1416concurrency :
@@ -18,33 +20,43 @@ concurrency:
1820jobs :
1921 build :
2022 name : MinGW batteries-included
21- runs-on : windows-2019
22-
23+ strategy :
24+ matrix :
25+ include :
26+ # - { sys: mingw64, env: x86_64 }
27+ # - { sys: mingw32, env: i686 }
28+ - { sys: ucrt64, env: ucrt-x86_64 }
29+ # - { sys: clang64, env: clang-x86_64 }
30+ runs-on : windows-latest
2331 defaults :
2432 run :
2533 shell : ' msys2 {0}'
26-
2734 steps :
2835 - uses : actions/checkout@v4
2936 - uses : msys2/setup-msys2@v2
3037 with :
31- release : false
38+ msystem : ${{matrix.sys}}
39+ update : true
3240 cache : true
33- # install: >-
34- # cmake
41+ install : >-
42+ git
43+ make
44+ pacboy : >-
45+ toolchain:p
46+ cmake:p
47+ ninja:p
3548 - name : Configure CMake
3649 run : |
3750 cmake --version
3851 cmake -S . -B build \
3952 -DCMAKE_BUILD_TYPE=Release \
4053 -DCMAKE_INSTALL_PREFIX=${PWD}/install \
4154 -DLSL_UNITTESTS=ON \
42- -DLSL_BUILD_EXAMPLES=ON \
4355 -DLSL_BUILD_STATIC=ON \
4456 -Dlslgitrevision=${{ github.sha }} \
4557 -Dlslgitbranch=${{ github.ref }} \
4658 -DLSL_OPTIMIZATIONS=OFF \
47- -G 'MSYS Makefiles'
59+ -G Ninja
4860
4961 - name : make
5062 run : cmake --build build --target install --config Release -j --verbose
You can’t perform that action at this time.
0 commit comments