Skip to content

Commit 16fa26d

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2405 from diffblue/aws-codebuild-jbmc
build jbmc on AWS codebuild
2 parents b8743fa + d7dd598 commit 16fa26d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

buildspec.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,29 @@ version: 0.2
33
phases:
44
install:
55
commands:
6-
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" > /etc/apt/sources.list.d/toolchain.list
6+
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
77
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
8+
- add-apt-repository ppa:openjdk-r/ppa -y
89
- apt-get update -y
910
- apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386
10-
- apt-get install -y openjdk-7-jdk
11+
- apt-get install -y openjdk-8-jdk
1112
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
1213
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
1314
build:
1415
commands:
1516
- echo Build started on `date`
17+
- make -C src minisat2-download
1618
- make -C jbmc/src java-models-library-download
17-
- (cd src ; make minisat2-download)
18-
- (cd src ; make CXX="ccache g++" -j2)
19-
- (cd regression ; make test)
19+
- make -C src CXX="ccache g++" -j2
20+
- make -C unit CXX="ccache g++" -j2
21+
- make -C jbmc/src CXX="ccache g++" -j2
22+
- make -C jbmc/unit CXX="ccache g++" -j2
2023
post_build:
2124
commands:
25+
- make -C unit test
26+
- make -C regression test
27+
- make -C jbmc/unit test
28+
- make -C jbmc/regression test
2229
- echo Build completed on `date`
2330
artifacts:
2431
files:

0 commit comments

Comments
 (0)