From 05788bba3748ed6f1abce6a524f038f88474c392 Mon Sep 17 00:00:00 2001 From: Marius S <39998+winding-lines@users.noreply.github.com> Date: Thu, 5 Nov 2026 11:03:16 -0800 Subject: [PATCH] CI: macOS only nightly Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017Tyct1MB5tY1frob42RKQK --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05912b2..ea55e6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,12 @@ on: push: branches: [main] pull_request: + # macOS runs here, nightly and by hand (Actions > CI > Run workflow), not on + # PRs or main: GitHub's hosted macOS pool is short on capacity, and a job + # that never gets a runner fails the required `ci` gate. + schedule: + - cron: '57 7 * * *' + workflow_dispatch: jobs: # A release PR (only versions, CHANGELOG.md, revs and locks change; see @@ -43,7 +49,7 @@ jobs: matrix: # x86_64 and aarch64 Linux both, because the sandbox's seccomp filter # is written per architecture (phase 3). - os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest] + os: ${{ fromJSON((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '["ubuntu-latest", "ubuntu-24.04-arm", "macos-latest"]' || '["ubuntu-latest", "ubuntu-24.04-arm"]') }} env: [default, stable] steps: - uses: actions/checkout@v4 @@ -67,7 +73,7 @@ jobs: # The one check to require: every job above passed or, on a release-only PR, # was skipped in favour of the release job's consumer build. ci: - if: ${{ always() }} + if: ${{ always() && github.event_name != 'schedule' }} needs: [release, release-check, test] runs-on: ubuntu-latest steps: