run: |
arch=$(uname -m)
mkdir debug && cd debug
- >
- cmake ..
- -DCMAKE_BUILD_TYPE=Debug
- -DICINGA2_UNITY_BUILD=Off
- -DCMAKE_INSTALL_PREFIX=/tmp/icinga2
- -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin
- -DBoost_NO_BOOST_CMAKE=TRUE
- -DBoost_NO_SYSTEM_PATHS=TRUE
- -DBOOST_LIBRARYDIR=/usr/lib/${arch}-linux-gnu/icinga-boost
- -DBOOST_INCLUDEDIR=/usr/include/icinga-boost
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Debug \
+ -DICINGA2_UNITY_BUILD=Off \
+ -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 \
+ -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin \
+ -DBoost_NO_BOOST_CMAKE=TRUE \
+ -DBoost_NO_SYSTEM_PATHS=TRUE \
+ -DBOOST_LIBRARYDIR=/usr/lib/${arch}-linux-gnu/icinga-boost \
+ -DBOOST_INCLUDEDIR=/usr/include/icinga-boost \
-DCMAKE_INSTALL_RPATH=/usr/lib/${arch}-linux-gnu/icinga-boost
- name: Build
run: |