forked from emp-toolkit/emp-sh2pc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (46 loc) · 1.08 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
48
49
50
51
52
language: cpp
matrix:
include:
- os: linux
dist: bionic
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- TYPE=Debug
- os: linux
dist: bionic
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- TYPE=Release
- os: osx
sudo: required
env:
- TYPE=Release
- os: osx
sudo: required
env:
- TYPE=Debug
before_install:
- eval "${MATRIX_EVAL}"
- wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
- python install.py -install -tool -ot
- cd emp-tool; cmake -DENABLE_FLOAT=On .; sudo make install; cd ..
script:
- cmake -DCMAKE_BUILD_TYPE=$TYPE -DENABLE_FLOAT=On . && make
- ./run ./bin/bit
- ./run ./bin/int
- ./run ./bin/float
- ./run ./bin/repeat