File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- build-cpp-gcc :
9+ build-cpp-gcc_clang :
10+ strategy :
11+ matrix :
12+ compiler : ["gcc", "clang"]
1013 runs-on : ubuntu-latest
1114 steps :
1215 - uses : actions/checkout@v3
1316 - uses : ./.github/actions/linux-build
1417 with :
15- compiler : " gcc"
16- config : " Debug"
17- version : " latest"
18-
19- build-cpp-clang :
20- runs-on : " ubuntu-20.04"
21- steps :
22- - uses : actions/checkout@v3
23- - uses : ./.github/actions/linux-build
24- with :
25- compiler : " clang"
18+ compiler : ${{ matrix.compiler }}
2619 config : " Debug"
2720 version : " latest"
2821
@@ -35,23 +28,17 @@ jobs:
3528 config : " Debug"
3629 version : " latest"
3730
38- test-cpp-gcc :
39- needs : build-cpp-gcc
31+ test-cpp-gcc_clang :
32+ needs : build-cpp-gcc_clang
33+ strategy :
34+ matrix :
35+ compiler : ["gcc", "clang"]
4036 runs-on : " ubuntu-latest"
4137 steps :
4238 - uses : actions/checkout@v3
4339 - uses : ./.github/actions/linux-test
4440 with :
45- build-artifact : build-cpp-linux-gcc-latest-Debug-full
46-
47- test-cpp-clang :
48- needs : build-cpp-clang
49- runs-on : " ubuntu-20.04"
50- steps :
51- - uses : actions/checkout@v3
52- - uses : ./.github/actions/linux-test
53- with :
54- build-artifact : build-cpp-linux-clang-latest-Debug-full
41+ build-artifact : build-cpp-linux-${{ matrix.compiler }}-latest-Debug-full
5542
5643 test-cpp-msvc :
5744 needs : build-cpp-msvc
You can’t perform that action at this time.
0 commit comments