diff --git a/.github/workflows/libressl.bash b/.github/workflows/libressl.bash index 64fa3d47b07..43ac4a85d21 100755 --- a/.github/workflows/libressl.bash +++ b/.github/workflows/libressl.bash @@ -1,14 +1,10 @@ #!/bin/bash set -exo pipefail -export PATH="/usr/lib/ccache:$PATH" -export CCACHE_DIR="$(pwd)/ccache" -export CTEST_OUTPUT_ON_FAILURE=1 - mkdir build cd build -cmake \ +PATH="/usr/lib/ccache:$PATH" cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=Release \ -DICINGA2_UNITY_BUILD=ON \ @@ -18,8 +14,8 @@ cmake \ -DICINGA2_GROUP=$(id -gn) \ .. -ninja -ninja test +CCACHE_DIR="$(pwd)/ccache" ninja +CTEST_OUTPUT_ON_FAILURE=1 ninja test ninja install icinga2 daemon -C diff --git a/.github/workflows/libressl.yml b/.github/workflows/libressl.yml index 40b86be6fb9..7c28dec8532 100644 --- a/.github/workflows/libressl.yml +++ b/.github/workflows/libressl.yml @@ -26,7 +26,7 @@ jobs: run: sudo apt-get update - name: Install build dependencies - run: > + run: >- DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-{recommends,suggests} bison ccache cmake flex g++ lib{boost-all,ssl}-dev ninja-build tzdata