Test on older macOS with GitHub's hosted runners
If your test is a shell command, GitHub’s hosted runners are the quickest route: list the macOS versions in a matrix and push. Each of my jobs took about five seconds, and nothing landed on my disk. The catch is that you only get the versions GitHub offers right now, and the one you most want is the next to go.
A workflow to copy
Save this as .github/workflows/limit-test.yml, then push a branch called
limit-test. This example checks Apple’s .aea password limits; change the
aa line for your own limit.
name: limit-test
on:
push:
branches: [limit-test]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macos-15, macos-26]
runs-on: ${{ matrix.os }}
steps:
- name: Check the boundary
run: |
MIN=20
MAX=256
sw_vers
work=$(mktemp -d)
mkdir -p "$work/d" && echo hi > "$work/d/f"
cd "$work"
status=0
check() {
local n=$1 want=$2 p got err
p=$(printf 'a%.0s' $(seq 1 "$n"))
rm -f "p$n.aea"
if aa archive -D d -o "p$n.aea" -password-value "$p" 2>"e$n.txt" && [ -s "p$n.aea" ]; then
got=pass
else
got=fail
fi
err=$(tr '\n' ' ' < "e$n.txt")
echo "len=$n want=$want got=$got err=$err"
[ "$got" = "$want" ] || status=1
}
check $((MIN - 1)) fail
check "$MIN" pass
check "$MAX" pass
check $((MAX + 1)) fail
exit "$status"What I actually ran is close to this but not the same. It used macos-14 and
macos-15, tested more lengths, and only printed the results. I ran the script
above on macOS 27.2, but not this exact file on GitHub, and I’ve never run the
macos-26 label. Read your first run’s log before trusting it.
The fail-fast: false line matters. GitHub’s default cancels the rest of the
matrix when one job fails, and you want every version’s answer, especially when
one job fails for reasons that have nothing to do with your test.
The password here is a throwaway test value on purpose. Don’t pass a real one on a command line, and don’t put one in a workflow.
To check that a file made on one version opens on another, commit a sample made
with a test password of exactly 20 bs, and add a checkout and an extract step:
- uses: actions/checkout@v4
- name: Open a sample made on a newer macOS
run: |
mkdir -p "$RUNNER_TEMP/x"
aa extract -i samples/from27-20.aea -d "$RUNNER_TEMP/x" -password-value "$(printf 'b%.0s' $(seq 1 20))"My run did this successfully on 14.8.9 and 15.8.2. checkout@v4 drew a warning
about Node.js 20 being deprecated, so look for a newer major version when you use
it.
What the runners give you
Checked November 2, 2026:
| Label | Chip | CPU | Memory | Disk |
|---|---|---|---|---|
macos-14 (deprecated), macos-15, macos-26, macos-latest, xcode-27 | arm64 (M1) | 3 | 7 GB | 14 GB |
macos-15-intel, macos-26-intel | Intel | 4 | 14 GB | 14 GB |
xcode-27 is the only one of these on macOS 27: its image was macOS 27.0.1, in
public preview. macos-14 is marked deprecated in the runner images README, not in
GitHub’s runner table.
You pick a major version, not a point release. The image decides that: I got 14.8.9 and 15.8.2. If you need 15.3 specifically, use a VM.
GitHub says nested virtualization isn’t supported on arm64 macOS runners, so you can’t start a macOS VM inside one to reach an older version.
I only ran commands in a shell. I didn’t try anything that needs someone to click a permission prompt.
What it costs
- Public repos: standard hosted runners are free.
- Private repos: the standard macOS runner is $0.062 a minute, against $0.006 for 2-core Linux, so about ten times as much. That draws from your plan’s included usage, which is $12 a month on GitHub Free and $18 on Pro. GitHub rounds each job up to a whole minute, so short matrix jobs cost more than they look.
My test repo was private. With that rounding, a five-second job counts as one minute: $0.062 against your included usage. The run’s timing data showed zero billable time, which I can’t explain, so check your own billing page.
One thing that caught me out: Actions was turned off on the repo I used, so my first push ran nothing and reported no error. If no run appears, check Settings ▸ Actions ▸ General.
Brownouts and retirement
GitHub keeps at most two generally available images and one beta. When a new version reaches general availability, the oldest starts to be retired: an announcement, then scheduled brownouts, then it’s gone. During a brownout, jobs on that image fail on purpose, to get your attention.
It happened to me. My first macos-14 job on October 30, 2026 failed in about a
second with a brownout notice, while macos-15 passed. It helps that the failure
says so plainly: it isn’t your test, and the job never started.
| Attempt | Time (UTC) | macos-14 result |
|---|---|---|
| 1 | Oct 30, 20:03 | Failed: brownout |
| 2, re-run right away | Oct 30, 20:04 | Failed: brownout. Still inside the window |
| 3, re-run after the window | Oct 31, 00:28 | Passed on 14.8.9 |
So don’t retry straight away. Read the schedule and wait for the window to end. To re-run only what failed:
gh run rerun YOUR-RUN-ID --failedThe schedule is worth checking in more than one place. GitHub’s changelog post listed eight windows, the last starting October 30. The tracking issue listed ten, adding October 31 and November 1, each 14:00 to 00:00 UTC. The failure notice links to the issue, so start there, but note the dates down: on November 2, GitHub rewrote the issue, and that list was replaced with later dates for Azure DevOps.
macOS 14’s retirement
GitHub’s date for retiring the macos-14, macos-14-large and macos-14-xlarge
labels was November 2, 2026. When this was checked, at about 18:45 UTC that day,
the tracking issue was still open and jobs on public repos had still run on
macos-14 that day. I didn’t run one myself. GitHub says macOS 14 workflows on
Actions will end with an error after that date, so plan on it going away at any
moment and move to
macos-15 or macos-26. For the current status, see
GitHub’s tracking issue.
Once it’s gone, that leaves you a VM for macOS 14, which I haven’t tried.
Going by GitHub’s policy, macos-15 should be next once a newer version reaches
general availability. That’s my reading, and I haven’t seen a date. It’s the
practical reason to save your results in your repo as you get them: the version
you tested on may not be there to test on again.
Sources
- GitHub-hosted runners reference
- Runner images: available images and policy
- macOS 14 retirement: tracking issue
- macOS 14 retirement: changelog, October 1, 2026
- Actions runner pricing
- Actions billing
- Workflow syntax:
fail-fast