-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
.travis.yml
63 lines (57 loc) · 1.27 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
52
53
54
55
56
57
58
59
60
61
62
63
language: cpp
branches:
only:
- dev
- stable
jobs:
fast_finish: true
include:
- os: linux
name: X86_64
dist: jammy
- os: linux
name: S390X
arch: s390x
dist: jammy
- os: linux
name: PPC64
arch: ppc64le
dist: jammy
- os: linux
name: ARM64
arch: arm64
dist: jammy
addons:
apt:
packages:
- python3-pip
- python3-setuptools
- ninja-build
- qtbase5-dev
- libgl1-mesa-dev
env:
- INSTALL_PREFIX=$TRAVIS_BUILD_DIR/rizin-prefix
install:
- pip3 install meson
- git clone --depth 1 https://github.com/rizinorg/rizin
- cd rizin && mkdir build && cd build
- meson --prefix="$INSTALL_PREFIX" ..
- ninja
- ninja install
- cd ../..
script:
- mkdir build && cd build
- cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_PREFIX_PATH="$TRAVIS_BUILD_DIR/rizin-prefix"
-DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX"
-DBUILD_CUTTER_PLUGIN=OFF
-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 RZ_LIBR_PLUGINS="$INSTALL_PREFIX/share/rizin/plugins"
- cd ../test
- make