-
Notifications
You must be signed in to change notification settings - Fork 0
154 lines (144 loc) · 4.13 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: Boost.Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: default build
run: |
mkdir build
cd build && cmake .. && make monaa unit_test tre2ta
gcc_unit_test:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: set gcc env
run: |
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
- name: build and test
run: |
mkdir -p gcc_build
cd gcc_build && cmake .. && make unit_test && ./unit_test
clang_unit_test:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: set clang env
run: |
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
- name: build and test
run: |
mkdir -p clang_build
cd clang_build && cmake .. && make unit_test && ./unit_test
ubuntu_noble:
runs-on: ubuntu-24.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
ubuntu_jammy:
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
ubuntu_focal:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
macOS_Sonoma:
runs-on: macos-14
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: brew install eigen boost bison flex
- name: build and test
run: |
mkdir -p build
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
macOS_Ventura:
runs-on: macos-13
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: brew install eigen boost bison flex
- name: build and test
run: |
mkdir -p build
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
macOS_Monterey:
runs-on: macos-12
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: brew install eigen boost bison flex
- name: build and test
run: |
mkdir -p build
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