From 1ab13c4291fd20583782cf3e8860352300875260 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 20 Aug 2026 20:45:02 -0500 Subject: [PATCH] Cache the native toolchain install and ccache store in CI --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96018fd037..ffcbb59ecc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1152,6 +1152,14 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} cache-key: ${{ needs.common.outputs.cache-key }} + # ~110 MB of framework + toolchain plus the ccache store; keyed on the + # pinned versions in arduino8266/framework.py so a bump re-downloads + - name: Cache the native toolchain and ccache + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: ~/.cache/esphome/arduino8266 + key: esp8266-native-${{ hashFiles('esphome/arduino8266/framework.py') }} + - name: Run native toolchain compile test run: | . venv/bin/activate