@@ -303,17 +303,6 @@ jobs:
303303 sudo apt-get update
304304 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libeigen3-dev tzdata-legacy ccache strace
305305
306- # PRs restore the newest compatible main cache via the default-branch
307- # fallback. Only main writes this namespace, never a PR merge ref.
308- - name : Restore ccache
309- id : ccache-restore
310- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
311- with :
312- path : ${{ env.CCACHE_DIR }}
313- key : ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-${{ github.sha }}
314- restore-keys : |
315- ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-
316-
317306 # The release profile fails below its CTest row floor (its row of the
318307 # PRIVATE_FIXTURE_PROFILE_FLOORS table in scripts/ci_verify.py);
319308 # debug registers a subset of those rows.
@@ -341,13 +330,6 @@ jobs:
341330 path : ci-diagnostics/
342331 if-no-files-found : warn
343332
344- - name : Save main ccache
345- if : ${{ success() && github.ref == 'refs/heads/main' && matrix.shard == 1 && steps.ccache-restore.outputs.cache-hit != 'true' }}
346- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
347- with :
348- path : ${{ env.CCACHE_DIR }}
349- key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
350-
351333 build-debug :
352334 name : build-shard (${{ matrix.platform.os }}, ${{ matrix.build_type }}, ${{ matrix.shard }}/2)
353335 needs : [authz, changes]
@@ -400,16 +382,6 @@ jobs:
400382 sudo apt-get update
401383 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libeigen3-dev tzdata-legacy ccache strace
402384
403- # Every shard restores the same key; only shard 1 publishes it.
404- - name : Restore ccache
405- id : ccache-restore
406- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
407- with :
408- path : ${{ env.CCACHE_DIR }}
409- key : ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-${{ github.sha }}
410- restore-keys : |
411- ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-
412-
413385 - name : Verify (${{ matrix.build_type }})
414386 env :
415387 PINEFORGE_RUNTIME_BUDGET_CANDIDATE_ONLY : ' 0'
@@ -429,13 +401,6 @@ jobs:
429401 path : ci-diagnostics/
430402 if-no-files-found : warn
431403
432- - name : Save main ccache
433- if : ${{ success() && github.ref == 'refs/heads/main' && matrix.shard == 1 && steps.ccache-restore.outputs.cache-hit != 'true' }}
434- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
435- with :
436- path : ${{ env.CCACHE_DIR }}
437- key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
438-
439404 build-release-gate :
440405 name : build (ubuntu-24.04, Release)
441406 needs : [authz, changes, build]
@@ -530,17 +495,6 @@ jobs:
530495 sudo apt-get update
531496 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libeigen3-dev tzdata-legacy ccache strace
532497
533- # PRs restore the newest compatible main cache via the default-branch
534- # fallback. Only main writes this namespace, never a PR merge ref.
535- - name : Restore ccache
536- id : ccache-restore
537- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
538- with :
539- path : ${{ env.CCACHE_DIR }}
540- key : ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-${{ github.sha }}
541- restore-keys : |
542- ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-
543-
544498 # The release profile fails below its CTest row floor (its row of the
545499 # PRIVATE_FIXTURE_PROFILE_FLOORS table in scripts/ci_verify.py);
546500 # debug registers a subset of those rows.
@@ -568,13 +522,6 @@ jobs:
568522 path : ci-diagnostics/
569523 if-no-files-found : warn
570524
571- - name : Save main ccache
572- if : ${{ success() && github.ref == 'refs/heads/main' && steps.ccache-restore.outputs.cache-hit != 'true' }}
573- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
574- with :
575- path : ${{ env.CCACHE_DIR }}
576- key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
577-
578525 # Dedicated AddressSanitizer + UndefinedBehaviorSanitizer lane. Without this,
579526 # the determinism / NaN-propagation / handle-reuse / C-ABI-lifecycle probes
580527 # would run un-instrumented and could not actually trip the leak / double-free
@@ -625,15 +572,6 @@ jobs:
625572 sudo apt-get update
626573 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libeigen3-dev tzdata-legacy ccache
627574
628- - name : Restore ccache
629- id : ccache-restore
630- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
631- with :
632- path : ${{ env.CCACHE_DIR }}
633- key : ccache-${{ runner.os }}-${{ runner.arch }}-sanitizers-${{ github.sha }}
634- restore-keys : |
635- ccache-${{ runner.os }}-${{ runner.arch }}-sanitizers-
636-
637575 - name : Verify (sanitizers)
638576 if : ${{ needs.authz.result == 'success' }}
639577 run : python3 scripts/ci_verify.py sanitizers --build-dir build-asan --jobs "$(getconf _NPROCESSORS_ONLN)" --ccache --ctest-shard ${{ matrix.shard }}/4
@@ -650,13 +588,6 @@ jobs:
650588 path : ci-diagnostics/
651589 if-no-files-found : warn
652590
653- - name : Save main ccache
654- if : ${{ success() && github.ref == 'refs/heads/main' && matrix.shard == 1 && steps.ccache-restore.outputs.cache-hit != 'true' }}
655- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
656- with :
657- path : ${{ env.CCACHE_DIR }}
658- key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
659-
660591 sanitizers-gate :
661592 name : sanitizers
662593 needs : [authz, changes, sanitizers]
@@ -724,15 +655,6 @@ jobs:
724655 sudo apt-get update
725656 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y cmake ninja-build libeigen3-dev tzdata-legacy libsqlite3-dev libssl-dev zlib1g-dev ccache
726657
727- - name : Restore ccache
728- id : ccache-restore
729- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
730- with :
731- path : ${{ env.CCACHE_DIR }}
732- key : ccache-${{ runner.os }}-${{ runner.arch }}-kernel-${{ github.sha }}
733- restore-keys : |
734- ccache-${{ runner.os }}-${{ runner.arch }}-kernel-
735-
736658 - name : Set up pinned WebSocket-enabled libcurl
737659 id : curl-deps
738660 if : ${{ needs.authz.result == 'success' }}
@@ -754,13 +676,6 @@ jobs:
754676 path : ci-diagnostics/
755677 if-no-files-found : warn
756678
757- - name : Save main ccache
758- if : ${{ success() && github.ref == 'refs/heads/main' && matrix.shard == 1 && steps.ccache-restore.outputs.cache-hit != 'true' }}
759- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
760- with :
761- path : ${{ env.CCACHE_DIR }}
762- key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
763-
764679 kernel-only-gate :
765680 name : kernel-only
766681 needs : [authz, changes, kernel-only]
0 commit comments