Skip to content

Commit

Permalink
Merge pull request zeromq#501 from gummif/gfa/actions3
Browse files Browse the repository at this point in the history
Use older gcc with older libzmq
  • Loading branch information
gummif authored Jul 8, 2021
2 parents 784ce47 + 11a9e81 commit 0289c1d
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.4"
- cppstd: 20
buildtype: "cmake"
libzmq: "4.2.0"
libzmqbuild: "pkgconfig"
- os: "ubuntu-latest"
cppstd: 20
cc: "gcc-10"
cxx: "g++-10"
drafts: "OFF"
libzmq: "4.3.4"
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

0 comments on commit 0289c1d

Please sign in to comment.