-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
37 lines (32 loc) · 847 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
language: cpp
compiler:
- gcc
sudo: false
addons:
apt:
packages:
- cmake
install:
- mkdir cmake
- cd cmake
- wget -qO- http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz | tar xvz
- cd ..
script:
- mkdir build
- cd build
- ../cmake/cmake-3.1.0-Linux-x86_64/bin/cmake ../
- make -j4
- ./HPCsim/HPCsim -e 100 -s examples/Pi/libPi.so
- cd ../
- mkdir build_pilot
- cd build_pilot
- ../cmake/cmake-3.1.0-Linux-x86_64/bin/cmake -DUSE_PILOT_THREAD=1 ../
- make -j4
- ./HPCsim/HPCsim -e 100 -s examples/Pi/libPi.so
- ./examples/Pi/ComparePi ../build/HPCsim.out ./HPCsim.out
- cd ../
- cd build
- rm -f ./HPCsim.out
- ./HPCsim/HPCsim -e 50 -s examples/Pi/libPi.so
- ./HPCsim/HPCsim -c -e 100 -s examples/Pi/libPi.so
- ./examples/Pi/ComparePi ./HPCsim.out ../build_pilot/HPCsim.out