Cache the native toolchain install and ccache store in CI

This commit is contained in:
J. Nick Koston
2026-08-20 20:45:02 -05:00
parent ee9045f021
commit 1ab13c4291
+8
View File
@@ -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