File tree Expand file tree Collapse file tree 1 file changed +28
-17
lines changed Expand file tree Collapse file tree 1 file changed +28
-17
lines changed Original file line number Diff line number Diff line change @@ -3,38 +3,49 @@ name: Linux
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- gcc10 :
7
- runs-on : ubuntu-latest
6
+ tests :
7
+ runs-on : ${{ matrix.os }}
8
8
strategy :
9
9
matrix :
10
+ os : ["ubuntu-latest"]
10
11
cppstd : ["98", "11", "20"]
11
- buildtype : ["cmake"]
12
+ cc : ["gcc-10"]
13
+ cxx : ["g++-10"]
12
14
drafts : ["ON"]
13
15
libzmq : ["4.3.4"]
16
+ libzmqbuild : ["cmake"]
14
17
include :
15
- - cppstd : 11
16
- buildtype : " pkgconfig"
18
+ - os : " ubuntu-18.04"
19
+ cppstd : 11
20
+ cc : " gcc-7"
21
+ cxx : " g++-7"
17
22
drafts : " OFF"
18
- libzmq : " 4.3.4"
19
- - cppstd : 20
20
- buildtype : " cmake"
23
+ libzmq : " 4.2.0"
24
+ libzmqbuild : " pkgconfig"
25
+ - os : " ubuntu-latest"
26
+ cppstd : 20
27
+ cc : " gcc-10"
28
+ cxx : " g++-10"
21
29
drafts : " OFF"
22
30
libzmq : " 4.3.4"
31
+ libzmqbuild : " cmake"
32
+ - os : " ubuntu-latest"
33
+ cppstd : 17
34
+ cc : " clang-12"
35
+ cxx : " clang++-12"
36
+ drafts : " ON"
37
+ libzmq : " 4.3.4"
38
+ libzmqbuild : " cmake"
23
39
24
40
steps :
25
- - uses : actions/checkout@v1
26
- - name : install_deps
27
- run : |
28
- sudo apt update
29
- sudo apt install gcc-10 g++-10
30
- shell : bash
41
+ - uses : actions/checkout@v2
31
42
- name : build
32
43
run : ./ci_build.sh
33
44
env :
34
- CC : gcc-10
35
- CXX : g++-10
45
+ CC : ${{ matrix.cc }}
46
+ CXX : ${{ matrix.cxx }}
36
47
CMAKE_CPP_STD : -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
37
- BUILD_TYPE : ${{ matrix.buildtype }}
38
48
ENABLE_DRAFTS : ${{ matrix.drafts }}
39
49
ZMQ_VERSION : ${{ matrix.libzmq }}
50
+ BUILD_TYPE : ${{ matrix.libzmqbuild }}
40
51
VERBOSE : 1
You can’t perform that action at this time.
0 commit comments