mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
commit
9521e03d07
39
.github/workflows/linux.yml
vendored
Normal file
39
.github/workflows/linux.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
name: Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
gcc10:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
cppstd: [03, 11, 20]
|
||||
buildtype: ["cmake"]
|
||||
drafts: ["ON"]
|
||||
libzmq: ["4.3.4"]
|
||||
include:
|
||||
- cppstd: 11
|
||||
buildtype: "pkgconfig"
|
||||
drafts: "ON"
|
||||
libzmq: "4.2.0"
|
||||
- cppstd: 20
|
||||
buildtype: "cmake"
|
||||
drafts: "OFF"
|
||||
libzmq: "4.3.4"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: install_deps
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install gcc-10 g++-10
|
||||
shell: bash
|
||||
- name: build
|
||||
run: ./ci_build.sh
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
CMAKE_CPP_STD: DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
|
||||
BUILD_TYPE: ${{ matrix.buildtype }}
|
||||
ENABLE_DRAFTS: ${{ matrix.drafts }}
|
||||
ZMQ_VERSION: ${{ matrix.libzmq }}
|
@ -4,7 +4,7 @@ set -x
|
||||
set -e
|
||||
|
||||
BUILD_TYPE=${BUILD_TYPE:-cmake}
|
||||
ZMQ_VERSION=${ZMQ_VERSION:-4.3.1}
|
||||
ZMQ_VERSION=${ZMQ_VERSION:-4.3.4}
|
||||
ENABLE_DRAFTS=${ENABLE_DRAFTS:-OFF}
|
||||
COVERAGE=${COVERAGE:-OFF}
|
||||
LIBZMQ=${PWD}/libzmq-build
|
||||
|
Loading…
Reference in New Issue
Block a user