blob: 6114771d3ae0072caa699ba1e50060228c50018b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!groovy
stage 'Debug Build'
sh '''rm -rf build_debug
mkdir build_debug
cd build_debug
cmake .. -DCMAKE_BUILD_TYPE="Debug"
cmake --build .'''
//stage 'Debug Test'
//sh '''cd build_debug
// ctest -V --output-on-failure'''
stage 'Release Build'
sh '''rm -rf build_release
mkdir build_release
cd build_release
cmake .. -DCMAKE_BUILD_TYPE="Release"
cmake --build .'''
//stage 'Release Test'
//sh '''cd build_release
// ctest -V --output-on-failure'''
|