[Issue #52] Added Release and RelWithDebInfo configuration targets for CI builds
This commit is contained in:
parent
9531e5d970
commit
e57e81bf89
2 changed files with 14 additions and 2 deletions
|
@ -16,8 +16,13 @@ addons:
|
|||
- gcc-4.9
|
||||
- g++-4.9
|
||||
env:
|
||||
global:
|
||||
GCOV: gcov-4.9
|
||||
CXX: g++-4.9
|
||||
matrix:
|
||||
- CONFIGURATION: Debug
|
||||
- CONFIGURATION: Release
|
||||
- CONFIGURATION: RelWithDebInfo
|
||||
|
||||
script:
|
||||
- mkdir -p build
|
||||
|
@ -26,7 +31,7 @@ script:
|
|||
cmake
|
||||
-Wno-dev
|
||||
-DCOVERALLS=ON
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
-DCMAKE_BUILD_TYPE=${CONFIGURATION}
|
||||
-DCMAKE_INSTALL_PREFIX=criterion-${TRAVIS_TAG}
|
||||
..
|
||||
- make
|
||||
|
@ -53,3 +58,4 @@ deploy:
|
|||
on:
|
||||
repo: Snaipe/Criterion
|
||||
tags: true
|
||||
condition: $CONFIGURATION = RelWithDebInfo
|
||||
|
|
|
@ -21,9 +21,13 @@ environment:
|
|||
clone_depth: 5
|
||||
|
||||
platform:
|
||||
- x86
|
||||
- x86_64
|
||||
|
||||
configuration: Release
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
- RelWithDebInfo
|
||||
|
||||
install:
|
||||
- ps: $env:RELEASE_NAME = $env:APPVEYOR_REPO_BRANCH -replace "/", "-"
|
||||
|
@ -35,6 +39,7 @@ install:
|
|||
cmake
|
||||
-Wno-dev
|
||||
-DCMAKE_INSTALL_PREFIX="criterion-%RELEASE_NAME%"
|
||||
-DCMAKE_BUILD_TYPE="%CONFIGURATION%"
|
||||
-G "%GENERATOR%"
|
||||
..
|
||||
|
||||
|
@ -71,3 +76,4 @@ deploy:
|
|||
prerelease: false
|
||||
on:
|
||||
appveyor_repo_tag: true
|
||||
configuration: RelWithDebInfo
|
||||
|
|
Loading…
Add table
Reference in a new issue