LIEF/circle.yml
Romain Thomas 3b17aba10e Refactor some parts of the Architecture:
* JSON visitor are located in the format namespace
  * Visitor are *real* visitor
  * Visitable class has been renamed to Object
  * Due to a bug in Visual Studio 2015, we move to VS2017
2018-03-13 16:49:02 +01:00

42 lines
1.1 KiB
YAML

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