- To get latest clang, use
dist: trusty
and speficyllvm-toolchain-trusty
for source.- same for latest g++. source is
ubuntu-toolchain-r-test
.
- same for latest g++. source is
- An easy way to multi-compiler test is using
env: COMPILER=***
to export variable$COMPILER
.- then add
-DMAKE_CXX_COMPILER=$COMPILER
option aftercmake
.
- then add
- need to config
-C <config>
to runctest