6
6
on :
7
7
# Triggers the workflow on push or pull request events but only for the master branch
8
8
push :
9
- branches : [ master, ci, soft ]
9
+ branches : [ master, stage, coproto ]
10
10
pull_request : {}
11
11
12
12
# Allows you to run this workflow manually from the Actions tab
18
18
build-ubuntu :
19
19
# The type of runner that the job will run on
20
20
runs-on : ubuntu-latest
21
+ timeout-minutes : 20
21
22
22
23
# Steps represent a sequence of tasks that will be executed as part of the job
23
24
steps :
@@ -27,17 +28,15 @@ jobs:
27
28
submodules : recursive
28
29
29
30
# Runs a set of commands using the runners shell
30
- - name : build boost
31
- run : python3 build.py --setup --boost --par=4
32
-
31
+
33
32
- name : build relic
34
- run : python3 build.py --setup --relic --par=4
35
-
33
+ run : python3 build.py --setup --relic --par=4 -DVERBOSE_FETCH=ON -DENABLE_BOOST=OFF -DENABLE_SODIUM=OFF
34
+
36
35
- name : build bitpolymul
37
- run : python3 build.py --setup --bitpolymul --par=4
36
+ run : python3 build.py --setup --bitpolymul --par=4 -DVERBOSE_FETCH=ON
38
37
39
38
- name : build libOTe
40
- run : python3 build.py --par=4 -D ENABLE_ALL_OT=ON -D ENABLE_RELIC =ON -DENABLE_CIRCUIT=ON -DENABLE_BITPOLYMUL=ON
39
+ run : python3 build.py --par=4 -D ENABLE_ALL_OT=ON -DENABLE_CIRCUITS =ON
41
40
42
41
- name : unit tests
43
42
run : ./out/build/linux/frontend/frontend_libOTe -u
63
62
64
63
- name : install prefix test
65
64
run : |
66
- python3 build.py --setup --boost -- relic --bitpolymul --install=~/install
65
+ python3 build.py --setup --relic --bitpolymul --install=~/install
67
66
python3 build.py --install=~/install
68
67
cd libOTe_Tests/cmakeTests
69
68
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install
75
74
76
75
- name : install test
77
76
run : |
78
- python3 build.py --setup --boost -- relic --bitpolymul --install --sudo
77
+ python3 build.py --setup --relic --bitpolymul --install --sudo
79
78
python3 build.py --install --sudo
80
79
cd libOTe_Tests/cmakeTests
81
80
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release
@@ -84,11 +83,14 @@ jobs:
84
83
rm -rf out/
85
84
cd ../..
86
85
86
+
87
87
- name : build sodium
88
- run : python3 build.py --setup --sodium --par=4
88
+ run : python3 build.py --setup --sodium --par=4 -DVERBOSE_FETCH=ON -DENABLE_BOOST=OFF
89
89
90
90
- name : build libOTe
91
- run : python3 build.py --par=4 -D ENABLE_ALL_OT=ON -D ENABLE_SODIUM=ON -DENABLE_RELIC=OFF
91
+ run : |
92
+ rm ./out/build/linux/frontend/frontend_libOTe
93
+ python3 build.py --par=4 -D ENABLE_ALL_OT=ON -D ENABLE_SODIUM=ON -DENABLE_RELIC=OFF -DPRINT_LOG_ON_FAIL=ON
92
94
93
95
- name : unit tests
94
96
run : ./out/build/linux/frontend/frontend_libOTe -u
@@ -114,7 +116,7 @@ jobs:
114
116
115
117
- name : install prefix test
116
118
run : |
117
- python3 build.py --setup --boost --relic -- sodium --install=~/install
119
+ python3 build.py --setup --sodium --install=~/install
118
120
python3 build.py --install=~/install
119
121
cd libOTe_Tests/cmakeTests
120
122
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install
@@ -126,7 +128,7 @@ jobs:
126
128
127
129
- name : install test
128
130
run : |
129
- python3 build.py --setup --boost -- sodium --install --sudo
131
+ python3 build.py --setup --sodium --install --sudo
130
132
python3 build.py --install --sudo
131
133
cd libOTe_Tests/cmakeTests
132
134
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release
@@ -139,6 +141,7 @@ jobs:
139
141
build-osx :
140
142
# The type of runner that the job will run on
141
143
runs-on : macos-latest
144
+ timeout-minutes : 20
142
145
143
146
# Steps represent a sequence of tasks that will be executed as part of the job
144
147
steps :
@@ -148,15 +151,9 @@ jobs:
148
151
submodules : recursive
149
152
150
153
# Runs a set of commands using the runners shell
151
- - name : build boost
152
- run : python3 build.py --setup --boost --par=4 -D ENABLE_SSE=OFF -D ENABLE_AVX=OFF -DENABLE_BITPOLYMUL=OFF
153
154
154
- - name : build relic
155
- run : python3 build.py --setup --relic --par=4 -D ENABLE_SSE=OFF -D ENABLE_AVX=OFF -DENABLE_BITPOLYMUL=OFF
156
-
157
155
- name : build libOTe
158
- run : |
159
- python3 build.py --par=4 -D ENABLE_ALL_OT=ON -D ENABLE_RELIC=ON -D ENABLE_SSE=OFF -D ENABLE_AVX=OFF -DENABLE_BITPOLYMUL=OFF
156
+ run : python3 build.py -DENABLE_BOOST=OFF -DVERBOSE_FETCH=ON -DENABLE_SSE=OFF -DENABLE_RELIC=ON -D ENABLE_ALL_OT=ON
160
157
161
158
- name : unit tests
162
159
run : ./out/build/osx/frontend/frontend_libOTe -u
@@ -182,7 +179,7 @@ jobs:
182
179
183
180
- name : install prefix test
184
181
run : |
185
- python3 build.py --setup --boost -- relic --install=~/install
182
+ python3 build.py --setup --relic --install=~/install
186
183
python3 build.py --install=~/install
187
184
cd libOTe_Tests/cmakeTests
188
185
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install
@@ -194,7 +191,7 @@ jobs:
194
191
195
192
- name : install test
196
193
run : |
197
- python3 build.py --setup --boost -- relic --install --sudo
194
+ python3 build.py --setup --relic --install --sudo
198
195
python3 build.py --install --sudo
199
196
cd libOTe_Tests/cmakeTests
200
197
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release
@@ -207,6 +204,7 @@ jobs:
207
204
build-windows :
208
205
# The type of runner that the job will run on
209
206
runs-on : windows-2019
207
+ timeout-minutes : 20
210
208
211
209
# Steps represent a sequence of tasks that will be executed as part of the job
212
210
steps :
@@ -218,11 +216,8 @@ jobs:
218
216
- uses : ilammy/msvc-dev-cmd@v1
219
217
220
218
# Runs a set of commands using the runners shell
221
- - name : build boost
222
- run : python3 build.py --setup --boost --par=4 -G Ninja
223
-
224
219
- name : build relic
225
- run : python3 build.py --setup --relic --par=4 -G Ninja
220
+ run : python3 build.py --setup --relic --par=4 -G Ninja -DENABLE_BOOST=OFF -DVERBOSE_FETCH=ON
226
221
227
222
- name : build libOTe
228
223
run : python3 build.py --par=4 -D ENABLE_ALL_OT=ON -D ENABLE_RELIC=ON -G Ninja
@@ -253,7 +248,7 @@ jobs:
253
248
254
249
- name : install prefix test
255
250
run : |
256
- python3 build.py --relic --boost -- bitpolymul --install=~/install
251
+ python3 build.py --relic --bitpolymul --install=~/install
257
252
cd libOTe_Tests/cmakeTests
258
253
cmake -S . -B out/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/install
259
254
cmake --build out/ --config Release
0 commit comments