-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcircle.yml
34 lines (30 loc) · 1.42 KB
/
circle.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
machine:
pre:
- sudo add-apt-repository -y ppa:boost-latest/ppa
#- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
checkout:
post:
- git submodule sync
- git submodule update --init
- for dep in midgard baldr sif mjolnir loki odin; do git clone --depth=1 --recurse-submodules --single-branch --branch=master https://github.com/valhalla/$dep.git deps/$dep; done
dependencies:
override:
- sudo apt-get remove --purge -y libboost*
- sudo apt-get install -y autoconf automake libtool make gcc-4.8 g++-4.8 libboost1.54-dev libboost-program-options1.54-dev libboost-filesystem1.54-dev libboost-system1.54-dev lcov protobuf-compiler libprotobuf-dev lua5.2 liblua5.2-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
#valhalla dependencies
- cd deps; for dep in midgard baldr sif mjolnir loki odin; do cd $dep; ./autogen.sh && ./configure && sudo make -j4 install; cd ..; done
test:
pre:
- ./autogen.sh && ./configure --enable-coverage --with-valhalla-midgard=/usr/local --with-valhalla-baldr=/usr/local --with-valhalla-loki=/usr/local --with-valhalla-odin=/usr/local --with-valhalla-sif=/usr/local --with-valhalla-mjolnir=/usr/local
override:
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make test -j4
post:
- sudo make install
general:
artifacts:
- config.log
- test/*.log
- Makefile
- valhalla/config.h