From f44d35681fdf36067a4661918844f4d0b6317239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Me=C3=9Fmer?= Date: Sun, 11 Apr 2021 19:45:22 -0700 Subject: [PATCH] Update action.yaml --- .github/workflows/actions/run_build/action.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions/run_build/action.yaml b/.github/workflows/actions/run_build/action.yaml index de452f6c..aa7867d6 100644 --- a/.github/workflows/actions/run_build/action.yaml +++ b/.github/workflows/actions/run_build/action.yaml @@ -16,6 +16,7 @@ runs: - name: Show build system information shell: bash run: | + set -v echo CMake version: cmake --version echo Ninja version: @@ -29,14 +30,18 @@ runs: - name: Run cmake shell: bash run: | + set -v mkdir build cd build cmake .. -GNinja -DCMAKE_CXX_COMPILER=${{inputs.cxx}} -DCMAKE_C_COMPILER=${{inputs.cc}} -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache - name: Run ninja shell: bash run: | + set -v cd build ninja - name: Reduce cache size shell: bash - run: ccache --evict-older-than 7d + run: | + set -v + ccache --evict-older-than 7d