forked from emp-toolkit/emp-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1 KB
/
.travis.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
language: cpp
matrix:
include:
- os: linux
dist: xenial
sudo: required
env: TYPE=Debug
- os: linux
dist: xenial
sudo: required
env: TYPE=Release
- os: osx
sudo: required
env:
- TYPE=Release
- OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
- os: osx
sudo: required
env:
- TYPE=Debug
- OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
before_install:
- eval "${MATRIX_EVAL}"
- git clone https://github.com/emp-toolkit/emp-readme.git
- bash ./emp-readme/scripts/install_packages.sh
- bash ./emp-readme/scripts/install_relic.sh
script:
- while sleep 400; do echo "=====[ $SECONDS seconds ]====="; done &
- cmake -DCMAKE_BUILD_TYPE=$TYPE .
- make
- echo "Testing Basic Primitives"
- ./bin/prp
- ./bin/prg
- ./bin/com
- ./bin/hash
- ./bin/garble 1 12345 & ./bin/garble 2 12345
- ./bin/netio 1 12345 & ./bin/netio 2 12345
- echo "Testing Circuits"
- ./bin/bit
- ./bin/int
- ./bin/float32