@@ -36,14 +36,14 @@ jobs:
3636 fail-fast : false
3737 matrix :
3838 include :
39- - os : ubuntu-24 .04 # x64
39+ - os : ubuntu-26 .04 # x64
4040 ocaml_compiler : ocaml-variants.5.5.1+options,ocaml-option-static
4141 upload_binaries : true
4242 upload_libs : true
4343 node-target : linux-x64
4444 rust-target : x86_64-unknown-linux-musl
4545 dune-profile : static
46- - os : ubuntu-24 .04-arm # ARM
46+ - os : ubuntu-26 .04-arm # ARM
4747 ocaml_compiler : ocaml-variants.5.5.1+options,ocaml-option-static
4848 upload_binaries : true
4949 # Build the playground compiler and run the benchmarks on the fastest runner
@@ -53,13 +53,13 @@ jobs:
5353 node-target : linux-arm64
5454 rust-target : aarch64-unknown-linux-musl
5555 dune-profile : static
56- - os : macos-15 -intel # x64
56+ - os : macos-26 -intel # x64
5757 ocaml_compiler : 5.5.1
5858 upload_binaries : true
5959 node-target : darwin-x64
6060 rust-target : x86_64-apple-darwin
6161 dune-profile : release
62- - os : macos-15 # ARM
62+ - os : macos-26 # ARM
6363 ocaml_compiler : 5.5.1
6464 upload_binaries : true
6565 node-target : darwin-arm64
7575
7676 # Verify that the compiler still builds with the oldest OCaml version we support.
7777 # Steps comparing OCaml and Rust rewatch are skipped on this job; the
78- # first linux-x64 job runs them.
78+ # first linux-x64 job runs them. OCaml 5.0 does not build with GCC 15
79+ # (C23 by default), so this job stays on Ubuntu 24.04.
7980 - os : ubuntu-24.04
8081 ocaml_compiler : ocaml-variants.5.0.0+options,ocaml-option-static
8182 node-target : linux-x64
@@ -397,7 +398,7 @@ jobs:
397398 needs :
398399 - build-compiler
399400 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
400- runs-on : ubuntu-24 .04
401+ runs-on : ubuntu-26 .04
401402 permissions :
402403 contents : read
403404 pages : write
@@ -449,7 +450,7 @@ jobs:
449450 - build-compiler
450451 outputs :
451452 commit_sha : ${{ steps.publish.outputs.sha }}
452- runs-on : ubuntu-24 .04-arm
453+ runs-on : ubuntu-26 .04-arm
453454 steps :
454455 - name : Checkout
455456 uses : actions/checkout@v7
@@ -482,7 +483,7 @@ jobs:
482483 api-docs :
483484 needs :
484485 - build-compiler
485- runs-on : ubuntu-24 .04-arm
486+ runs-on : ubuntu-26 .04-arm
486487 steps :
487488 - name : Checkout rescript-lang.org
488489 uses : actions/checkout@v7
@@ -519,7 +520,7 @@ jobs:
519520 yarn build
520521
521522 test-devcontainer :
522- runs-on : ubuntu-24 .04-arm
523+ runs-on : ubuntu-26 .04-arm
523524 steps :
524525 - name : Checkout
525526 uses : actions/checkout@v7
@@ -536,10 +537,10 @@ jobs:
536537 fail-fast : false
537538 matrix :
538539 include :
539- - os : macos-15 -intel
540- - os : macos-15
541- - os : ubuntu-24 .04
542- - os : ubuntu-24 .04-arm
540+ - os : macos-26 -intel
541+ - os : macos-26
542+ - os : ubuntu-26 .04
543+ - os : ubuntu-26 .04-arm
543544 - os : windows-2025
544545 runs-on : ${{ matrix.os }}
545546 steps :
@@ -602,10 +603,10 @@ jobs:
602603 fail-fast : false
603604 matrix :
604605 include :
605- - os : macos-15 -intel
606- - os : macos-15
607- - os : ubuntu-24 .04
608- - os : ubuntu-24 .04-arm
606+ - os : macos-26 -intel
607+ - os : macos-26
608+ - os : ubuntu-26 .04
609+ - os : ubuntu-26 .04-arm
609610 - os : windows-2025
610611 runs-on : ${{ matrix.os }}
611612 steps :
@@ -661,3 +662,24 @@ jobs:
661662 node src/BeltTest.mjs
662663 shell : bash
663664 working-directory : ${{ steps.tmp-dir.outputs.path }}
665+
666+ # The single CI check that the master ruleset requires. Matrix job names
667+ # contain runner labels, so requiring this job instead keeps the ruleset
668+ # unchanged when runners or jobs change. It runs even when a needed job fails
669+ # or the run is cancelled, because a skipped required check counts as passed.
670+ ci-ok :
671+ if : ${{ always() }}
672+ needs :
673+ - build-compiler
674+ - pkg-pr-new
675+ - api-docs
676+ - test-installation-npm
677+ - test-installation-pnpm
678+ runs-on : ubuntu-26.04
679+ steps :
680+ - name : Check that all needed jobs succeeded
681+ env :
682+ NEEDS : ${{ toJSON(needs) }}
683+ run : |
684+ jq -r 'to_entries[] | "\(.key): \(.value.result)"' <<< "$NEEDS"
685+ jq -e 'all(.[]; .result == "success")' <<< "$NEEDS" > /dev/null
0 commit comments