File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,24 +18,28 @@ jobs:
1818 include :
1919 - name : Linux GCC
2020 os : ubuntu-latest
21- c_compiler : gcc
21+ cc : gcc
2222
2323 - name : Linux Clang
2424 os : ubuntu-latest
25- c_compiler : clang
25+ cc : clang
2626
2727 - name : Windows MSVC
28- on : windows-latest
29- cc : cl
28+ os : windows-latest
3029
3130 steps :
3231 - uses : actions/checkout@v6
3332
34- - name : Configure CMake
33+ - name : Configure CMake (Unix)
34+ if : runner.os != 'Windows'
3535 run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON
3636 env :
3737 CC : ${{ matrix.cc }}
3838
39+ - name : Configure CMake (Windows)
40+ if : runner.os == 'Windows'
41+ run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022"
42+
3943 - name : Build
4044 run : cmake --build build --config Release
4145
You can’t perform that action at this time.
0 commit comments