forked from pixie16/paass
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
75 lines (72 loc) · 1.73 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
env:
global:
- MAKEFLAGS="-j 8"
language: cpp
dist: focal
os: linux
arch: amd64
jobs:
include:
- name: GCC 7 Test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- libgsl-dev
- libncurses5-dev
- python3
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- BUILD_OPTIONS="-DPAASS_BUILD_TESTS=ON"
- name: GCC 8 Test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- libgsl-dev
- libncurses5-dev
- python3
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- BUILD_OPTIONS="-DPAASS_BUILD_TESTS=ON"
- name: GCC 9 Test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgsl-dev
- libncurses5-dev
- python3
env:
- MATRIX_EVAL=""
- BUILD_OPTIONS="-DPAASS_BUILD_TESTS=ON"
before_install:
- eval "${MATRIX_EVAL}"
- export ORIG_DIR=${PWD}
- git clone https://github.com/spaulaus/plx-api.git
- cd plx-api
- export PLX_SDK_DIR=$PWD
- make all
- cd ${ORIG_DIR}
- git clone https://github.com/spaulaus/xia-api.git
- cd xia-api
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=${ORIG_DIR}
- make -j12 install
- export XIA_PIXIE_SDK=${ORIG_DIR}/xia/pixie/sdk
- cd ${ORIG_DIR}
- wget https://root.cern/download/root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
- tar xzf root_v6.22.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
- source root/bin/thisroot.sh
script:
- mkdir build
- cd build
- cmake ../ ${BUILD_OPTIONS}
- make -j12
- ./Tests/tests