xref: /openbmc/boost-dbus/Jenkinsfile (revision a8b4eac4)
1b5f5bef4SEd Tanous#!groovy
2b5f5bef4SEd Tanousstage 'Debug Build'
3b5f5bef4SEd Tanoussh '''rm -rf build_debug
4b5f5bef4SEd Tanous	mkdir build_debug
5b5f5bef4SEd Tanous	cd build_debug
6b5f5bef4SEd Tanous	cmake .. -DCMAKE_BUILD_TYPE="Debug"
7b5f5bef4SEd Tanous	cmake --build .'''
8b5f5bef4SEd Tanous
9b5f5bef4SEd Tanousstage 'Debug Test'
10b5f5bef4SEd Tanoussh '''cd build_debug
11b5f5bef4SEd Tanous	dbus-launch ctest -V --output-on-failure'''
12b5f5bef4SEd Tanous
13b5f5bef4SEd Tanousstage 'Release Build'
14b5f5bef4SEd Tanoussh '''rm -rf build_release
15b5f5bef4SEd Tanous	mkdir build_release
16b5f5bef4SEd Tanous	cd build_release
17b5f5bef4SEd Tanous	cmake .. -DCMAKE_BUILD_TYPE="Release"
18b5f5bef4SEd Tanous	cmake --build .'''
19b5f5bef4SEd Tanous
20b5f5bef4SEd Tanousstage 'Release Test'
21b5f5bef4SEd Tanoussh '''cd build_release
22b5f5bef4SEd Tanous	dbus-launch ctest -V --output-on-failure'''
23*b976b5a4SEd Tanous
24