Skip to content

Commit 9521e03

Browse files
authored
Merge pull request #499 from gummif/gfa/actions
Problem: Complex CI
2 parents bfaf8e8 + d0e54f7 commit 9521e03

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/linux.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Linux
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
gcc10:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
cppstd: [03, 11, 20]
11+
buildtype: ["cmake"]
12+
drafts: ["ON"]
13+
libzmq: ["4.3.4"]
14+
include:
15+
- cppstd: 11
16+
buildtype: "pkgconfig"
17+
drafts: "ON"
18+
libzmq: "4.2.0"
19+
- cppstd: 20
20+
buildtype: "cmake"
21+
drafts: "OFF"
22+
libzmq: "4.3.4"
23+
24+
steps:
25+
- uses: actions/checkout@v1
26+
- name: install_deps
27+
run: |
28+
sudo apt update
29+
sudo apt install gcc-10 g++-10
30+
shell: bash
31+
- name: build
32+
run: ./ci_build.sh
33+
env:
34+
CC: gcc-10
35+
CXX: g++-10
36+
CMAKE_CPP_STD: DCMAKE_CXX_STANDARD=${{ matrix.cppstd }}
37+
BUILD_TYPE: ${{ matrix.buildtype }}
38+
ENABLE_DRAFTS: ${{ matrix.drafts }}
39+
ZMQ_VERSION: ${{ matrix.libzmq }}

ci_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44
set -e
55

66
BUILD_TYPE=${BUILD_TYPE:-cmake}
7-
ZMQ_VERSION=${ZMQ_VERSION:-4.3.1}
7+
ZMQ_VERSION=${ZMQ_VERSION:-4.3.4}
88
ENABLE_DRAFTS=${ENABLE_DRAFTS:-OFF}
99
COVERAGE=${COVERAGE:-OFF}
1010
LIBZMQ=${PWD}/libzmq-build

0 commit comments

Comments
 (0)