forked from toor-de-force/Ghidrall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (44 loc) · 1.19 KB
/
.travis.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
40
41
42
43
44
45
46
47
48
49
50
51
language: cpp
branches:
only:
- master
os: linux
dist: bionic
addons:
apt:
sources:
- sourceline: "ppa:beineri/opt-qt-5.12.0-bionic"
packages:
- python3-pip
- python3-setuptools
- ninja-build
- qt512base
- libgl1-mesa-dev
env:
- INSTALL_PREFIX=$TRAVIS_BUILD_DIR/radare2-prefix
install:
- pip3 install meson
- git clone --depth 1 https://github.com/radareorg/radare2
- cd radare2 && mkdir build && cd build
- meson --prefix="$INSTALL_PREFIX" ..
- ninja
- ninja install
- cd ../..
- git clone --depth 1 https://github.com/radareorg/cutter
script:
- mkdir build && cd build
- cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_PREFIX_PATH="$TRAVIS_BUILD_DIR/radare2-prefix;/opt/qt512"
-DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX"
-DBUILD_CUTTER_PLUGIN=ON
-DCUTTER_SOURCE_DIR="$TRAVIS_BUILD_DIR/cutter"
-DBUILD_SLEIGH_PLUGIN=ON
..
- make -j4
- make install
- export LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$INSTALL_PREFIX/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
- export PATH="$INSTALL_PREFIX/bin:$PATH"
- export R2_LIBR_PLUGINS="$INSTALL_PREFIX/share/radare2/plugins"
- cd ../test
- NOOK=0 make