Specify CC

This commit is contained in:
Gudmundur Adalsteinsson 2021-07-08 11:04:31 +00:00
parent 3d13afacd2
commit 0c6f8bb888

View File

@ -8,17 +8,20 @@ jobs:
strategy: strategy:
matrix: matrix:
cppstd: ["98", "11", "20"] cppstd: ["98", "11", "20"]
cc: ["gcc-10"]
cxx: ["g++-10"] cxx: ["g++-10"]
drafts: ["ON"] drafts: ["ON"]
libzmq: ["4.3.4"] libzmq: ["4.3.4"]
libzmqbuild: ["cmake"] libzmqbuild: ["cmake"]
include: include:
- cppstd: 11 - cppstd: 11
cc: "gcc-7"
cxx: "g++-7" cxx: "g++-7"
drafts: "OFF" drafts: "OFF"
libzmq: "4.2.0" libzmq: "4.2.0"
libzmqbuild: "pkgconfig" libzmqbuild: "pkgconfig"
- cppstd: 20 - cppstd: 20
cc: "gcc-10"
cxx: "g++-10" cxx: "g++-10"
drafts: "OFF" drafts: "OFF"
libzmq: "4.3.4" libzmq: "4.3.4"
@ -29,6 +32,7 @@ jobs:
- name: build - name: build
run: ./ci_build.sh run: ./ci_build.sh
env: env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }} CXX: ${{ matrix.cxx }}
CMAKE_CPP_STD: -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }} CMAKE_CPP_STD: -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
ENABLE_DRAFTS: ${{ matrix.drafts }} ENABLE_DRAFTS: ${{ matrix.drafts }}