-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
41 lines (36 loc) · 1.1 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
35
36
37
38
39
machine:
python:
version: 2.7.5
environment:
PATH: "${HOME}/cmake-3.7.2-Linux-x86_64/bin:${PATH}"
PYTHON_VERSION: "2.7"
checkout:
post:
- git fetch && git pull origin ${CIRCLE_BRANCH}
compile:
pre:
- mkdir build
- cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DPYTHON_VERSION=${PYTHON_VERSION} -DLIEF_TESTS=on ..:
pwd:
build
override:
- make -j3:
pwd:
build
dependencies:
pre:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update; sudo apt-get install gcc-5; sudo apt-get install g++-5
- sudo apt-get install libpython2.7
- sudo apt-get install python2.7-dev
- sudo apt-get install python-setuptools
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 100
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 100
override:
- wget --no-check-certificate http://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
- tar -xzf cmake-3.7.2-Linux-x86_64.tar.gz -C ${HOME}
test:
override:
- make check-lief:
pwd:
build