-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 948 Bytes
/
.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
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
- bash ./emp-readme/scripts/install_emp-tool.sh
- bash ./emp-readme/scripts/install_emp-ot.sh
script:
- cat /proc/cpuinfo || true
- cmake -DCMAKE_BUILD_TYPE=$TYPE . && make
- ./run ./bin/simple_circuit 12345
- ./run ./bin/aes 12345
- ./run ./bin/sha1 12345
- ./run ./bin/sha256 12345