From 2b515d0866155aa48690182d043a1674203aab03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Wed, 4 Nov 2026 12:32:26 +0100 Subject: [PATCH] [CI] Create the per-measurement cache directories before mounting them --mount type=bind refuses a missing source, and docker.sh only creates its default cache directory, so both probe builds died at the mount. --- .github/workflows/ccache-probe.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ccache-probe.yml b/.github/workflows/ccache-probe.yml index a923dd1e2..cc59f3512 100644 --- a/.github/workflows/ccache-probe.yml +++ b/.github/workflows/ccache-probe.yml @@ -76,6 +76,9 @@ jobs: export RUN_ARGS="$RUN_ARGS ${{ matrix.run_env }}" # One cache directory per measurement: a shared one would mix the two results. export CCACHE_DIR="$CACHE/.ccache-g0" + # --mount type=bind refuses a source that does not exist, and docker.sh only + # creates its default cache directory. + mkdir -p "$CCACHE_DIR" export RUN_ARGS="$RUN_ARGS -e PROBE_CMAKE_ARGS=-DCOCKATRICE_DEBUG_INFO_LEVEL=0" RUN ${{ matrix.leg }} --ccache "$CCACHE_BOUND" echo "=== cache for -g0" @@ -88,6 +91,7 @@ jobs: source .ci/docker.sh export RUN_ARGS="$RUN_ARGS ${{ matrix.run_env }}" export CCACHE_DIR="$CACHE/.ccache-g1" + mkdir -p "$CCACHE_DIR" export RUN_ARGS="$RUN_ARGS -e PROBE_CMAKE_ARGS=-DCOCKATRICE_DEBUG_INFO_LEVEL=1" RUN ${{ matrix.leg }} --ccache "$CCACHE_BOUND" echo "=== cache for -g1"