forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildspec-linux-clang-3.8.yml
More file actions
28 lines (26 loc) · 899 Bytes
/
buildspec-linux-clang-3.8.yml
File metadata and controls
28 lines (26 loc) · 899 Bytes
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
version: 0.2
env:
variables:
# CodeBuild console doesn't display color codes correctly
TESTPL_COLOR_OUTPUT: 0
phases:
install:
commands:
- sed -i 's#/archive.ubuntu.com#/us-east-1.ec2.archive.ubuntu.com#g' /etc/apt/sources.list
- apt-get update -y
- apt-get install -y clang-3.8 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq openjdk-8-jdk maven
build:
commands:
- echo Build started on `date`
- make -C src minisat2-download
- make -C jbmc/src setup-submodules
- make -C src CXX='ccache /usr/bin/clang++-3.8' CXX_FLAGS='-Qunused-arguments -DDEBUG'
- make -C jbmc/src CXX='ccache /usr/bin/clang++-3.8' CXX_FLAGS='-Qunused-arguments -DDEBUG'
post_build:
commands:
- echo Build completed on `date`
cache:
paths:
- '/var/cache/apt/**/*'
- '/var/lib/apt/lists/**/*'
- '/root/.ccache/**/*'