mirror of
https://github.com/SimoneN64/Kaizen.git
synced 2025-04-02 10:41:53 -04:00
50 lines
1.6 KiB
YAML
Executable file
50 lines
1.6 KiB
YAML
Executable file
language: cpp
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- llvm-toolchain-trusty-5.0
|
|
packages:
|
|
- g++-6
|
|
- clang-5.0
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: CXX_COMPILER=g++-6 BUILD_TYPE=Debug
|
|
- os: linux
|
|
env: CXX_COMPILER=g++-6 BUILD_TYPE=Release
|
|
- os: linux
|
|
env: CXX_COMPILER=clang++-5.0 BUILD_TYPE=Debug
|
|
- os: linux
|
|
env: CXX_COMPILER=clang++-5.0 BUILD_TYPE=Release
|
|
- os: osx
|
|
osx_image: xcode8.3
|
|
env: CXX_COMPILER=clang++ BUILD_TYPE=Debug
|
|
- os: osx
|
|
osx_image: xcode8.3
|
|
env: CXX_COMPILER=clang++ BUILD_TYPE=Release
|
|
- os: linux
|
|
env: CXX_COMPILER=g++-6 BUILD_TYPE=Debug COVERAGE_FLAGS="--coverage"
|
|
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- >
|
|
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
|
|
-DCMAKE_CXX_FLAGS="$COVERAGE_FLAGS" \
|
|
-DCMAKE_CXX_COMPILER=${CXX_COMPILER} \
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
-DCTEST_DROP_SITE_CDASH=TRUE \
|
|
-DDROP_METHOD="http" \
|
|
-DDROP_SITE="my.cdash.org" \
|
|
-DDROP_LOCATION="/submit.php?project=mio" \
|
|
-DBUILDNAME="$(uname -s)-${CXX_COMPILER}-${BUILD_TYPE}" ..
|
|
- ctest -VV -M Experimental -T Start \
|
|
&& ctest -VV -M Experimental -T Build \
|
|
&& ctest -VV -M Experimental -T Test
|
|
- if [[ -n "${COVERAGE_FLAGS+x}" ]]; then ctest -VV -M Experimental -T Coverage; fi
|
|
- ctest -VV -M Experimental -T Submit
|
|
|
|
|