File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- name : ${{ matrix.config.name }}
12- runs-on : ${{ matrix.config.os }}
11+ runs-on : ${{ matrix.os }}
1312 strategy :
1413 matrix :
15- config :
16- - {
17- name : " Windows latest - MSVC" ,
18- os : windows-latest,
19- cc : " cl" ,
20- cxx : " cl" ,
21- }
22- - {
23- name : " Ubuntu 24.04 - GCC" ,
24- os : ubuntu-24.04,
25- cc : " gcc" ,
26- cxx : " g++" ,
27- }
28- - {
29- name : " Ubuntu 24.04 - Clang" ,
30- os : ubuntu-24.04,
31- cc : " clang" ,
32- cxx : " clang++" ,
33- }
34- - {
35- name : " macOS 15" ,
36- os : macos-15,
37- cc : " clang" ,
38- cxx : " clang++" ,
39- }
14+ os : [macos-15, ubuntu-24.04, windows-latest]
15+ type : [Debug, Release]
16+ compiler : [clang++, g++, cl]
17+ exclude :
18+ - os : macos-15
19+ compiler : g++
20+ - os : macos-15
21+ compiler : cl
22+ - os : ubuntu-24.04
23+ compiler : cl
24+ - os : windows-latest
25+ compiler : clang++
26+ - os : windows-latest
27+ compiler : g++
4028 steps :
4129 - uses : actions/checkout@v5
4230
4331 - name : CMake configure
44- run : cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER= ${{ matrix.config.cc }} -DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }}
32+ run : cmake -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
4533
4634 - name : CMake build
4735 if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments