File: circle.yml

package info (click to toggle)
lief 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 16,036 kB
  • sloc: cpp: 76,013; python: 6,167; ansic: 3,355; pascal: 404; sh: 98; makefile: 32
file content (41 lines) | stat: -rw-r--r-- 1,124 bytes parent folder | download | duplicates (2)
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
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