mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-27 12:54:32 +00:00
* 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
42 lines
1.1 KiB
YAML
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
|
|
|
|
|