Skip to content

Commit 0a3d5a4

Browse files
committed
Regularise the AWS CodeBuild Clang buildspecs
Check out the diff vs. buildspec.yml and you'll see these are now much more regular. This duplication and drift is a vindication of Travis' "matrix" approach if you ask me ;)
1 parent d8598f8 commit 0a3d5a4

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

buildspec-linux-clang-3.8.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ phases:
1414
build:
1515
commands:
1616
- echo Build started on `date`
17-
- git submodule update --init --recursive
1817
- make -C src minisat2-download
1918
- make -C jbmc/src setup-submodules
2019
- make -C src CXX='ccache /usr/bin/clang++-3.8' CXX_FLAGS='-Qunused-arguments -DDEBUG'

buildspec-linux-clang.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ phases:
1616
build:
1717
commands:
1818
- echo Build started on `date`
19-
- git submodule update --init --recursive
20-
- make -C src CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments'
21-
- make -C jbmc/src CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments'
19+
- make -C src minisat2-download
20+
- make -C jbmc/src setup-submodules
21+
- make -C src CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments' -j2
22+
- make -C unit CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments' -j2
23+
- make -C jbmc/src CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments' -j2
24+
- make -C jbmc/unit CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments' -j2
2225
post_build:
2326
commands:
24-
- make -C unit test CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments'
27+
- make -C unit test
2528
- make -C regression test
29+
- make -C regression/cbmc test-paths-lifo
2630
- env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
27-
- make -C jbmc/unit test CXX='ccache /usr/bin/clang++-7' CXX_FLAGS='-Qunused-arguments'
31+
- make -C jbmc/unit test
2832
- make -C jbmc/regression test
2933
- echo Build completed on `date`
3034
cache:

0 commit comments

Comments
 (0)