Merge pull request #499 from gummif/gfa/actions

Problem: Complex CI
This commit is contained in:
Gudmundur Adalsteinsson 2021-07-06 15:01:07 +00:00 committed by GitHub
commit 9521e03d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 1 deletions

39
.github/workflows/linux.yml vendored Normal file
View 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 }}

View File

@ -4,7 +4,7 @@ set -x
set -e set -e
BUILD_TYPE=${BUILD_TYPE:-cmake} BUILD_TYPE=${BUILD_TYPE:-cmake}
ZMQ_VERSION=${ZMQ_VERSION:-4.3.1} ZMQ_VERSION=${ZMQ_VERSION:-4.3.4}
ENABLE_DRAFTS=${ENABLE_DRAFTS:-OFF} ENABLE_DRAFTS=${ENABLE_DRAFTS:-OFF}
COVERAGE=${COVERAGE:-OFF} COVERAGE=${COVERAGE:-OFF}
LIBZMQ=${PWD}/libzmq-build LIBZMQ=${PWD}/libzmq-build