Skip to content

Commit 0289c1d

Browse files
authored
Merge pull request #501 from gummif/gfa/actions3
Use older gcc with older libzmq
2 parents 784ce47 + 11a9e81 commit 0289c1d

File tree

1 file changed

+28
-17
lines changed

1 file changed

+28
-17
lines changed

.github/workflows/linux.yml

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,49 @@ name: Linux
33
on: [push, pull_request]
44

55
jobs:
6-
gcc10:
7-
runs-on: ubuntu-latest
6+
tests:
7+
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10+
os: ["ubuntu-latest"]
1011
cppstd: ["98", "11", "20"]
11-
buildtype: ["cmake"]
12+
cc: ["gcc-10"]
13+
cxx: ["g++-10"]
1214
drafts: ["ON"]
1315
libzmq: ["4.3.4"]
16+
libzmqbuild: ["cmake"]
1417
include:
15-
- cppstd: 11
16-
buildtype: "pkgconfig"
18+
- os: "ubuntu-18.04"
19+
cppstd: 11
20+
cc: "gcc-7"
21+
cxx: "g++-7"
1722
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"
2129
drafts: "OFF"
2230
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"
2339

2440
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
3142
- name: build
3243
run: ./ci_build.sh
3344
env:
34-
CC: gcc-10
35-
CXX: g++-10
45+
CC: ${{ matrix.cc }}
46+
CXX: ${{ matrix.cxx }}
3647
CMAKE_CPP_STD: -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
37-
BUILD_TYPE: ${{ matrix.buildtype }}
3848
ENABLE_DRAFTS: ${{ matrix.drafts }}
3949
ZMQ_VERSION: ${{ matrix.libzmq }}
50+
BUILD_TYPE: ${{ matrix.libzmqbuild }}
4051
VERBOSE: 1

0 commit comments

Comments
 (0)