forked from klee/klee-uclibc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
71 lines (67 loc) · 2.1 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
64
65
66
67
68
69
70
71
os: linux
dist: bionic
language: cpp
compiler:
# FIXME: For now, building with Clang is disabled because the STP built with
# it hits an assertion failure during some tests. We should sort this out
# eventually and file the bug against STP or Clang whichever is appropriate,
# but for now it is easier to just reduce the number of configs we test
# anyway.
# - clang
- gcc
env:
###########################################################################
# Configurations
#
# Each line in the "env" section represents a set of environment variables
# passed to a build. Thus each line represents a different build
# configuration.
###########################################################################
# Check a subset of the matrix of:
# LLVM : {9}
# SOLVERS : {STP}
# DISABLE_ASSERTIONS: {0}
# ENABLE_OPTIMIZED: {1}
# Check KLEE CMake build
- LLVM_VERSION=9 SOLVERS=STP DISABLE_ASSERTIONS=0 ENABLE_OPTIMIZED=1
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- gcc-7
- g++-7
- libcap-dev
- libselinux1-dev
- cmake
- libsqlite3-dev
- bison
- flex
- libboost-all-dev
- python3
- python3-setuptools
- python3-pip
- perl
- zlib1g-dev
- minisat
cache: apt
before_install:
- sudo apt-get update
###########################################################################
# Set up out of source build directory
###########################################################################
- export SRC_DIR=`pwd`
- cd ../
- mkdir build
- cd build/
- export BUILD_DIR=`pwd`
###########################################################################
# Install stuff
###########################################################################
# Install LLVM and the LLVM bitcode compiler we require to build KLEE
- ${SRC_DIR}/.travis/install-llvm-and-runtime-compiler.sh
script:
# Build uclibc
- ${SRC_DIR}/.travis/uclibc.sh
# Test uclibc integration with KLEE
- ${SRC_DIR}/.travis/klee.sh