Use older gcc with older libzmq

This commit is contained in:
Gudmundur Adalsteinsson 2021-07-08 10:57:02 +00:00
parent 784ce47316
commit 3d13afacd2

View File

@ -8,33 +8,30 @@ jobs:
strategy: strategy:
matrix: matrix:
cppstd: ["98", "11", "20"] cppstd: ["98", "11", "20"]
buildtype: ["cmake"] cxx: ["g++-10"]
drafts: ["ON"] drafts: ["ON"]
libzmq: ["4.3.4"] libzmq: ["4.3.4"]
libzmqbuild: ["cmake"]
include: include:
- cppstd: 11 - cppstd: 11
buildtype: "pkgconfig" cxx: "g++-7"
drafts: "OFF" drafts: "OFF"
libzmq: "4.3.4" libzmq: "4.2.0"
libzmqbuild: "pkgconfig"
- cppstd: 20 - cppstd: 20
buildtype: "cmake" cxx: "g++-10"
drafts: "OFF" drafts: "OFF"
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 CXX: ${{ matrix.cxx }}
CXX: g++-10
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