From 5ecc673e23f63c2dc14b6adbcc050724b0dc4422 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Sat, 26 Sep 2026 15:24:38 -0700 Subject: [PATCH] ci(macos): drop the Homebrew download cache and double ccache The Homebrew download cache restored from any older key and saved the result under the new one, so it only ever grew: each entry is now about 2.9 GB, three of them fill most of the 10 GB repository cache, and GitHub evicts the ccache entries to make room. Restoring and saving it cost about 72 s per run, more than the Homebrew install it saves. The 200M ccache is full after px4_sitl, so px4_fmu-v5_default only hits about 81%. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Ramon Roche --- .github/workflows/compile_macos.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/compile_macos.yml b/.github/workflows/compile_macos.yml index 117ef7c3117..b04f30ff7b5 100644 --- a/.github/workflows/compile_macos.yml +++ b/.github/workflows/compile_macos.yml @@ -27,14 +27,6 @@ jobs: - uses: actions/checkout@v6 - - name: Cache - Restore Homebrew Packages - uses: actions/cache@v5 - with: - path: ~/Library/Caches/Homebrew/downloads - key: macos-homebrew-${{ runner.arch }}-${{ hashFiles('Tools/setup/macos.sh', 'Tools/setup/macos_ci_pins.sh', 'Tools/setup/homebrew-pins.txt') }} - restore-keys: | - macos-homebrew-${{ runner.arch }}- - - name: Cache - Restore pip Packages uses: actions/cache@v5 with: @@ -58,7 +50,7 @@ jobs: id: ccache with: cache-key-prefix: ccache-macos-15 - max-size: 200M + max-size: 400M - name: Build px4_sitl run: |