2021-07-06 16:52:39 +02:00
|
|
|
name: Linux
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2021-07-08 16:19:40 +02:00
|
|
|
tests:
|
|
|
|
runs-on: ${{ matrix.os }}
|
2021-07-06 16:52:39 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-07-08 16:19:40 +02:00
|
|
|
os: ["ubuntu-latest"]
|
2021-07-06 17:14:54 +02:00
|
|
|
cppstd: ["98", "11", "20"]
|
2021-07-08 13:04:31 +02:00
|
|
|
cc: ["gcc-10"]
|
2021-07-08 12:57:02 +02:00
|
|
|
cxx: ["g++-10"]
|
2021-07-06 16:52:39 +02:00
|
|
|
drafts: ["ON"]
|
|
|
|
libzmq: ["4.3.4"]
|
2021-07-08 12:57:02 +02:00
|
|
|
libzmqbuild: ["cmake"]
|
2021-07-06 16:52:39 +02:00
|
|
|
include:
|
2021-07-08 16:19:40 +02:00
|
|
|
- os: "ubuntu-18.04"
|
|
|
|
cppstd: 11
|
2021-07-08 13:04:31 +02:00
|
|
|
cc: "gcc-7"
|
2021-07-08 12:57:02 +02:00
|
|
|
cxx: "g++-7"
|
2021-07-06 17:14:54 +02:00
|
|
|
drafts: "OFF"
|
2021-07-08 12:57:02 +02:00
|
|
|
libzmq: "4.2.0"
|
|
|
|
libzmqbuild: "pkgconfig"
|
2021-07-08 16:19:40 +02:00
|
|
|
- os: "ubuntu-latest"
|
|
|
|
cppstd: 20
|
2021-07-08 13:04:31 +02:00
|
|
|
cc: "gcc-10"
|
2021-07-08 12:57:02 +02:00
|
|
|
cxx: "g++-10"
|
2021-07-06 16:52:39 +02:00
|
|
|
drafts: "OFF"
|
|
|
|
libzmq: "4.3.4"
|
2021-07-08 12:57:02 +02:00
|
|
|
libzmqbuild: "cmake"
|
2021-07-08 16:19:40 +02:00
|
|
|
- os: "ubuntu-latest"
|
|
|
|
cppstd: 17
|
|
|
|
cc: "clang-12"
|
|
|
|
cxx: "clang++-12"
|
|
|
|
drafts: "ON"
|
|
|
|
libzmq: "4.3.4"
|
|
|
|
libzmqbuild: "cmake"
|
2021-07-06 16:52:39 +02:00
|
|
|
|
|
|
|
steps:
|
2021-07-08 12:57:02 +02:00
|
|
|
- uses: actions/checkout@v2
|
2021-07-06 16:52:39 +02:00
|
|
|
- name: build
|
|
|
|
run: ./ci_build.sh
|
|
|
|
env:
|
2021-07-08 13:04:31 +02:00
|
|
|
CC: ${{ matrix.cc }}
|
2021-07-08 12:57:02 +02:00
|
|
|
CXX: ${{ matrix.cxx }}
|
2021-07-06 17:06:05 +02:00
|
|
|
CMAKE_CPP_STD: -DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
|
2021-07-06 16:52:39 +02:00
|
|
|
ENABLE_DRAFTS: ${{ matrix.drafts }}
|
|
|
|
ZMQ_VERSION: ${{ matrix.libzmq }}
|
2021-07-08 12:57:02 +02:00
|
|
|
BUILD_TYPE: ${{ matrix.libzmqbuild }}
|
2021-07-06 17:14:54 +02:00
|
|
|
VERBOSE: 1
|