SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
CI: keep lavapipe's shader cache for the GPU path tests (#7113)
bherbruckbd9d0778f671
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 0b9577a502..7e25ca1c87 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -565,6 +565,8 @@ jobs:# As in Native Linux tests: lavapipe draws, and a test without an adapter fails.SOLIDCRAFT_GPU: softwareSOLIDCRAFT_REQUIRE_GPU: "1"+ # lavapipe's own shader cache (below).+ MESA_SHADER_CACHE_DIR: /home/runner/.cache/mesa-gpuCARGO_INCREMENTAL: "0"RUSTC_WRAPPER: sccacheSCCACHE_DIR: /home/runner/.cache/sccache@@ -589,6 +591,17 @@ jobs:key: ${{ github.repository }}-sccache-gpupath: /home/runner/.cache/sccachecommit: ${{ github.ref == 'refs/heads/main' && matrix.shard == 1 && 'on-change' || 'false' }}+ # The first test in a shard to build the path pipeline compiles it cold on lavapipe (335 to+ # 665 s, against the 600 s setup budget); every later one reads Mesa's disk cache (about+ # 30 s). Keeping that cache from main's last run lets the first test read it too, until the+ # shaders change. Same sticky disk rules as the compiler cache.+ - name: Mount lavapipe's shader cache+ uses: useblacksmith/stickydisk@3f6be1451e3cad893b778bc93495c80452a5da26 # v1.7.2+ continue-on-error: true+ with:+ key: ${{ github.repository }}-mesa-gpu+ path: /home/runner/.cache/mesa-gpu+ commit: ${{ github.ref == 'refs/heads/main' && matrix.shard == 1 && 'on-change' || 'false' }}# Main saves the cache; every other run restores it, read-only.- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2with: