fix(ci): run the macOS job on macos-latest right after lint, on every change to its paths, and drop the self-hosted one

macos-14 was retired on 2 November 2026 and the runner label was no longer
supported, so macos-hosted was cancelled and failed required.

Only Apple silicon and the latest macOS are supported, and a standard hosted
runner is free on a public repository, so:

- macos-hosted runs on macos-latest
- it runs on a pull request that touches the macOS paths, without the label
  ci:macos
- it needs only changes and lint, like windows-native-test, and no longer
  waits for the KDE VM suites
- macos-selfhosted.yaml, its install-nix input, its path filter, the label
  ci:macos-self and the variable MACOS_SELF_HOSTED are removed
This commit is contained in:
LGUG2Z committed 2026-11-06 10:04:26 -08:00
1 parent 9c5f0c459f
commit df2f3ae0ad
5 files changed
+21 -70

No files matched your search

+2 -8
View File
@@ -1,5 +1,4 @@
# The macOS jobs, called by ci.yaml on a hosted runner and by macos-selfhosted.yaml on the Mac Mini.
# `runs-on` is JSON: '"macos-14"' or '["self-hosted","macOS","ARM64"]'.
# The macOS jobs, called by ci.yaml on a hosted runner.
name: macos
@@ -7,13 +6,9 @@ on:
workflow_call:
inputs:
runs-on:
description: The runner, as JSON
description: The runner, as JSON, for example '"macos-latest"'
type: string
required: true
install-nix:
description: Install nix (a self-hosted machine already has it)
type: boolean
default: true
permissions:
contents: read
@@ -31,7 +26,6 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
install: ${{ inputs.install-nix }}
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: The macOS checks