From 5169cc382b324137f66ed9c2b52a9f53827289a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Fri, 17 Nov 2023 10:34:05 +0100 Subject: [PATCH] Add ccache -s for debugging --- .github/workflows/pr_build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 8841c7649b..40f6113e7b 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -181,6 +181,7 @@ jobs: shell: bash if: startsWith(matrix.os, 'Ubuntu') || contains(matrix.os, 'Debian') || startsWith(matrix.os, 'macOS') run: | + ccache -s if [[ "${{ matrix.os }}" =~ "Ubuntu" || "${{ matrix.os }}" =~ "Debian" ]]; then echo "Updating apt repository index" @@ -235,6 +236,7 @@ jobs: if: always() shell: bash run: | + ccache -s if [ "${{ matrix.os }}" == "macOS-10.15" ]; then TAR=gtar else @@ -254,7 +256,10 @@ jobs: if: matrix.build_type == 'full' || matrix.build_type == 'client' working-directory: build shell: bash - run: cmake --build . --config $BUILD_TYPE --target $APP_TARGET_NAME $CMAKE_BUILD_EXTRA + run: | + ccache -s + cmake --build . --config $BUILD_TYPE --target $APP_TARGET_NAME $CMAKE_BUILD_EXTRA + ccache -s - name: Build Domain Server if: matrix.build_type == 'full'