3232 PINEFORGE_REQUIRE_RELEASE_TAGS : " 1"
3333
3434# The canon authz gate admits our events before any checkout. Light jobs
35- # (authz, changes, build-gate) use hosted ubuntu-24.04; Linux proofs use the
36- # post-merge fleet, and macOS uses hosted macos-26 . Runner pins are checked
35+ # (authz, changes, build-gate) use hosted ubuntu-24.04; amd64 proofs use the
36+ # post-merge fleet, and arm64 builds use hosted ubuntu-24.04-arm . Runner pins are checked
3737# by scripts/ci_preflight.py.
3838# Each verification sizes its parallelism to the runner that took it.
3939# scripts/ci_preflight.py pins every runner, time limit and job count; every
@@ -283,8 +283,8 @@ jobs:
283283 ACTUAL_OS : ${{ runner.os }}
284284 run : |
285285 case "$REQUESTED_PLATFORM:$ACTUAL_OS" in
286- ubuntu-24.04:Linux|macos-26:macOS ) ;;
287- *) echo "::error::post fleet runner OS $ACTUAL_OS cannot verify $REQUESTED_PLATFORM"; exit 1 ;;
286+ ubuntu-24.04:Linux) ;;
287+ *) echo "::error::runner OS $ACTUAL_OS cannot verify $REQUESTED_PLATFORM"; exit 1 ;;
288288 esac
289289 - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
290290 if : ${{ needs.authz.result == 'success' }}
@@ -329,10 +329,9 @@ jobs:
329329 # debug registers a subset of those rows.
330330 - name : Verify (${{ matrix.build_type }})
331331 env :
332- # A40 rev 7: the relative runtime witness gates on process CPU time,
333- # so every Release lane runs it, hosted macOS included (A40 rev 6 had
334- # exempted that VM while the gated sample was wall clock). '1' is the
335- # escape -- the row registers --candidate-only, one sample and no
332+ # The relative runtime witness gates on process CPU time on every
333+ # Release runner. '1' is the escape -- the row registers
334+ # --candidate-only, one sample and no
336335 # ratio -- for a runner whose CPU accounting is unusable; record the
337336 # measured reason here and in docs/ci.md before setting it.
338337 PINEFORGE_RUNTIME_BUDGET_CANDIDATE_ONLY : ' 0'
@@ -359,18 +358,16 @@ jobs:
359358 path : ${{ env.CCACHE_DIR }}
360359 key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
361360
362- # LB-535 canon keeps macOS as the sole hosted exception in engine/app.
363- # pf-gcp-post is the Linux fleet, so macOS proof needs a separate hosted job.
364- build-macos :
365- name : build (${{ matrix.os }}, ${{ matrix.build_type }})
361+ # Hosted arm64 cells run the same verification steps as the amd64 post fleet.
362+ build-arm :
363+ name : build (ubuntu-24.04-arm, ${{ matrix.build_type }})
366364 needs : [authz, changes]
367365 if : ${{ always() && needs.authz.result == 'success' && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }}
368366 strategy :
369367 fail-fast : false
370368 matrix :
371- os : [macos-26]
372369 build_type : [Release, Debug]
373- runs-on : macos-26
370+ runs-on : ubuntu-24.04-arm
374371
375372 steps :
376373 - name : Refuse an unauthorised run before anything else
@@ -381,12 +378,12 @@ jobs:
381378 - name : Require the requested platform
382379 if : ${{ needs.authz.result == 'success' }}
383380 env :
384- REQUESTED_PLATFORM : ${{ matrix.os }}
381+ REQUESTED_PLATFORM : ubuntu-24.04-arm
385382 ACTUAL_OS : ${{ runner.os }}
386383 run : |
387384 case "$REQUESTED_PLATFORM:$ACTUAL_OS" in
388- ubuntu-24.04:Linux|macos-26:macOS ) ;;
389- *) echo "::error::post fleet runner OS $ACTUAL_OS cannot verify $REQUESTED_PLATFORM"; exit 1 ;;
385+ ubuntu-24.04-arm:Linux ) ;;
386+ *) echo "::error::runner OS $ACTUAL_OS cannot verify $REQUESTED_PLATFORM"; exit 1 ;;
390387 esac
391388 - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
392389 if : ${{ needs.authz.result == 'success' }}
@@ -406,14 +403,17 @@ jobs:
406403 python3 -m pip install --disable-pip-version-check --no-input \
407404 --require-hashes --only-binary ':all:' -r scripts/requirements-preflight.txt
408405
409- - name : Install dependencies (macOS)
410- if : ${{ needs.authz.result == 'success' && runner.os == 'macOS' }}
406+ # tzdata-legacy carries the backward links test_native_calendar resolves
407+ # (US/Eastern, Japan, GB); noble split them out of tzdata, and the hosted
408+ # image happens to have it, so the row stays green on a bare runner too.
409+ - name : Install dependencies (Linux)
410+ if : ${{ needs.authz.result == 'success' && runner.os == 'Linux' }}
411411 run : |
412- export HOMEBREW_NO_AUTO_UPDATE=1
413- brew install eigen ccache
414- echo "CMAKE_PREFIX_PATH=$(brew --prefix eigen)${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}" >> "$GITHUB_ENV"
412+ sudo apt-get update
413+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libeigen3-dev tzdata-legacy ccache strace
415414
416- # Keep the main cache namespace shared with PR restores. Only main saves.
415+ # PRs restore the newest compatible main cache via the default-branch
416+ # fallback. Only main writes this namespace, never a PR merge ref.
417417 - name : Restore ccache
418418 id : ccache-restore
419419 uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
@@ -423,12 +423,16 @@ jobs:
423423 restore-keys : |
424424 ccache-main-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-
425425
426- # The release profile fails below its CTest row floor; debug registers
427- # a subset of those rows, just as in the Linux full profiles.
426+ # The release profile fails below its CTest row floor (its row of the
427+ # PRIVATE_FIXTURE_PROFILE_FLOORS table in scripts/ci_verify.py);
428+ # debug registers a subset of those rows.
428429 - name : Verify (${{ matrix.build_type }})
429430 env :
430- # A40 rev 7 gates the runtime witness on process CPU time on hosted
431- # macOS too; the candidate-only escape remains disabled.
431+ # The relative runtime witness gates on process CPU time on every
432+ # Release runner. '1' is the escape -- the row registers
433+ # --candidate-only, one sample and no
434+ # ratio -- for a runner whose CPU accounting is unusable; record the
435+ # measured reason here and in docs/ci.md before setting it.
432436 PINEFORGE_RUNTIME_BUDGET_CANDIDATE_ONLY : ' 0'
433437 if : ${{ needs.authz.result == 'success' }}
434438 run : |
@@ -442,7 +446,7 @@ jobs:
442446 if : always()
443447 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
444448 with :
445- name : ci-diagnostics-${{ matrix.os }} -${{ matrix.build_type }}
449+ name : ci-diagnostics-ubuntu-24.04-arm -${{ matrix.build_type }}
446450 path : ci-diagnostics/
447451 if-no-files-found : warn
448452
@@ -633,7 +637,7 @@ jobs:
633637 # maintainers, rather than this build context.
634638 build-gate :
635639 name : build
636- needs : [authz, changes, preflight, build, build-macos , sanitizers, native-live, kernel-only, corpus-parity-subset, preflight-slow, corpus-parity]
640+ needs : [authz, changes, preflight, build, build-arm , sanitizers, native-live, kernel-only, corpus-parity-subset, preflight-slow, corpus-parity]
637641 if : always()
638642 # The aggregate runs inline Python and shell on the light pool class.
639643 runs-on : ubuntu-24.04
@@ -655,7 +659,7 @@ jobs:
655659 DOCS_ONLY : ${{ needs.changes.outputs.docs_only }}
656660 PREFLIGHT_RESULT : ${{ needs.preflight.result }}
657661 BUILD_RESULT : ${{ needs.build.result }}
658- MACOS_BUILD_RESULT : ${{ needs.build-macos .result }}
662+ ARM_BUILD_RESULT : ${{ needs.build-arm .result }}
659663 SANITIZER_RESULT : ${{ needs.sanitizers.result }}
660664 NATIVE_RESULT : ${{ needs.native-live.result }}
661665 KERNEL_RESULT : ${{ needs.kernel-only.result }}
@@ -665,7 +669,7 @@ jobs:
665669 run : |
666670 printf '%s\n' "authz: $AUTHZ_RESULT" "changes: $CHANGES_RESULT, docs only: ${DOCS_ONLY:-unanswered}" \
667671 "preflight: $PREFLIGHT_RESULT" "matrix: $BUILD_RESULT" \
668- "macOS matrix: $MACOS_BUILD_RESULT " \
672+ "arm64 matrix: $ARM_BUILD_RESULT " \
669673 "sanitizers: $SANITIZER_RESULT" "native: $NATIVE_RESULT" \
670674 "kernel: $KERNEL_RESULT" "corpus parity (subset): $PARITY_RESULT" \
671675 "preflight (slow): $SLOW_PREFLIGHT_RESULT" "corpus parity (full): $FULL_PARITY_RESULT"
@@ -677,7 +681,7 @@ jobs:
677681 passed() { [[ "$1" == "success" || ( "$docs_only" == "true" && "$1" == "skipped" ) ]]; }
678682 [[ "$AUTHZ_RESULT" == "success" && "$CHANGES_RESULT" == "success" ]] \
679683 && [[ "$PREFLIGHT_RESULT" == "success" ]] && passed "$BUILD_RESULT" \
680- && passed "$MACOS_BUILD_RESULT " \
684+ && passed "$ARM_BUILD_RESULT " \
681685 && passed "$SANITIZER_RESULT" && passed "$NATIVE_RESULT" \
682686 && passed "$KERNEL_RESULT" && passed "$PARITY_RESULT" \
683687 && [[ "$SLOW_PREFLIGHT_RESULT" == "success" ]] && passed "$FULL_PARITY_RESULT"
0 commit comments