forked from binrats/ddisasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (22 loc) · 1.09 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
os: linux
dist: bionic
arch: amd64
language: generic
jobs:
include:
- stage: Build
name: "Build dependencies"
services: docker
before_script:
- git clone https://github.com/binrats/gtirb
- git clone https://github.com/binrats/gtirb-pprinter
- docker pull binrats/ddisasm-base
- docker run -d -t --name binrattester -w /ddisasm --mount src="$(pwd)",target=/ddisasm,type=bind binrats/ddisasm-base /bin/sh
script:
- docker exec binrattester /bin/sh -c "cd /ddisasm/gtirb && git checkout -b d3 D3.0 && cmake . -Bbuild && cd build && make install -j2"
- docker exec binrattester /bin/sh -c "cd /ddisasm/gtirb-pprinter && cmake . -Bbuild && cd build && make install -j2"
- docker exec binrattester /bin/sh -c "cd /ddisasm && cmake -DLIEF_ROOT=/usr . -Bbuild && cd build && make install -j2"
# Now register the new libraries so they are usable
- docker exec binrattester /bin/sh -c "ldconfig"
- docker exec binrattester /bin/sh -c "cd /ddisasm/examples/ex1 && make && ddisasm --dwarf ex"
after_script: docker container stop binrattester