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