1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 22:33:49 +01:00
This commit is contained in:
J. Nick Koston
2025-10-10 07:44:18 -10:00
parent 2617b5b2da
commit 90253e9675

View File

@@ -460,14 +460,15 @@ jobs:
run: |
. venv/bin/activate
# Use /mnt for build files (70GB available vs ~29GB on /)
# Bind mount /mnt directories to preserve relative paths
sudo mkdir -p /mnt/build_cache
sudo chown $USER:$USER /mnt/build_cache
export PLATFORMIO_BUILD_CACHE_DIR=/mnt/build_cache
# Also move test_build_components/build to /mnt
sudo mkdir -p /mnt/test_build_components_build
sudo chown $USER:$USER /mnt/test_build_components_build
ln -s /mnt/test_build_components_build tests/test_build_components/build
mkdir -p tests/test_build_components/build
sudo mount --bind /mnt/test_build_components_build tests/test_build_components/build
# Convert space-separated components to comma-separated for Python script
components_csv=$(echo "${{ matrix.components }}" | tr ' ' ',')