diffblue-cbmc/buildspec.yml

28 lines
920 B
YAML
Raw Normal View History

2018-03-03 06:16:01 +08:00
version: 0.2
phases:
install:
commands:
- echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" > /etc/apt/sources.list.d/toolchain.list
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
2018-03-03 06:16:01 +08:00
- apt-get update -y
2018-05-22 23:52:24 +08:00
- apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386
2018-03-03 07:38:12 +08:00
- apt-get install -y openjdk-7-jdk
2018-03-03 06:56:44 +08:00
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
2018-03-03 07:22:19 +08:00
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
2018-03-03 06:16:01 +08:00
build:
commands:
- echo Build started on `date`
- make -C jbmc/src java-models-library-download
2018-03-03 06:16:01 +08:00
- (cd src ; make minisat2-download)
2018-03-04 02:04:40 +08:00
- (cd src ; make CXX="ccache g++" -j2)
2018-03-04 20:23:11 +08:00
- (cd regression ; make test)
2018-03-03 06:16:01 +08:00
post_build:
commands:
- echo Build completed on `date`
artifacts:
files:
2018-03-04 02:03:01 +08:00
cache:
paths:
- '/root/.ccache/**/*'