-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (62 loc) · 1.85 KB
/
boosttest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Boost.Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: default build
run: |
mkdir -p build/tre build/constraint
cd build && cmake .. && make pmonaa unit_test
ubuntu_bionic:
runs-on: ubuntu-18.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev libppl-dev -y
- name: build and test
run: |
mkdir -p build/tre build/constraint
cd build && cmake .. && make unit_test && ./unit_test
ubuntu_focal:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev libppl-dev -y
- name: build and test
run: |
mkdir -p build/tre build/constraint
cd build && cmake .. && make unit_test && ./unit_test
macOS_Catalina:
runs-on: macos-10.15
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install required packages
run: brew install eigen boost bison flex ppl
- name: build and test
run: |
mkdir -p build/tre build/constraint
export PATH="/usr/local/opt/bison/bin:/usr/local/opt/flex/bin:$PATH"
LDFLAGS="-L/usr/local/opt/bison/lib -L/usr/local/opt/flex/lib"
export CPPFLAGS="-I/usr/local/opt/flex/include"
cd build && cmake .. && make unit_test && ./unit_test