Merge pull request #501 from gummif/gfa/actions3

Use older gcc with older libzmq
This commit is contained in:
Gudmundur Adalsteinsson 2021-07-08 14:25:35 +00:00 committed by GitHub
commit 0289c1d19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,38 +3,49 @@ name: Linux
on: [push, pull_request]
jobs:
gcc10:
runs-on: ubuntu-latest
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
cppstd: ["98", "11", "20"]
buildtype: ["cmake"]
cc: ["gcc-10"]
cxx: ["g++-10"]
drafts: ["ON"]
libzmq: ["4.3.4"]
libzmqbuild: ["cmake"]
include:
- cppstd: 11
buildtype: "pkgconfig"
- os: "ubuntu-18.04"
cppstd: 11
cc: "gcc-7"
cxx: "g++-7"
drafts: "OFF"
libzmq: "4.2.0"
libzmqbuild: "pkgconfig"
- os: "ubuntu-latest"
cppstd: 20
cc: "gcc-10"
cxx: "g++-10"
drafts: "OFF"
libzmq: "4.3.4"
- cppstd: 20
buildtype: "cmake"
drafts: "OFF"
libzmqbuild: "cmake"
- os: "ubuntu-latest"
cppstd: 17
cc: "clang-12"
cxx: "clang++-12"
drafts: "ON"
libzmq: "4.3.4"
libzmqbuild: "cmake"
steps:
- uses: actions/checkout@v1
- name: install_deps
run: |
sudo apt update
sudo apt install gcc-10 g++-10
shell: bash
- uses: actions/checkout@v2
- name: build
run: ./ci_build.sh
env:
CC: gcc-10
CXX: g++-10
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
CMAKE_CPP_STD: -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
BUILD_TYPE: ${{ matrix.buildtype }}
ENABLE_DRAFTS: ${{ matrix.drafts }}
ZMQ_VERSION: ${{ matrix.libzmq }}
BUILD_TYPE: ${{ matrix.libzmqbuild }}
VERBOSE: 1