File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 98
98
matrix :
99
99
os : ['windows-2019', 'windows-2022']
100
100
build_type : [Debug, Release]
101
- compiler : [{c: cl.exe, cxx: cl.exe}, {c: clang-cl.exe, cxx: clang-cl.exe}]
101
+ compiler : [{c: cl, cxx: cl}, {c: clang-cl, cxx: clang-cl}]
102
+ include :
103
+ - compiler : {c: clang-cl, cxx: clang-cl}
104
+ toolset : " -T ClangCL"
102
105
runs-on : ${{matrix.os}}
103
106
104
107
steps :
@@ -122,6 +125,7 @@ jobs:
122
125
run : >
123
126
cmake
124
127
-B${{github.workspace}}/build
128
+ ${{matrix.toolset}}
125
129
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
126
130
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
127
131
-DCMAKE_POLICY_DEFAULT_CMP0094=NEW
@@ -135,7 +139,7 @@ jobs:
135
139
run : cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}
136
140
137
141
- name : Build all
138
- run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j 2
142
+ run : cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
139
143
140
144
- name : Test
141
145
working-directory : ${{github.workspace}}/build
You can’t perform that action at this time.
0 commit comments