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