Skip to content

ci(github): run tests on ARM64, fixes #99 - #116

Merged
stasadev merged 1 commit into
mainfrom
20260911_stasadev_os_matrix
Sep 11, 2026
Merged

stasadev merged 1 commit into
mainfrom
20260911_stasadev_os_matrix

Conversation

@stasadev

Copy link
Copy Markdown
Member

Short Summary (TL;DR)

Runs tests on ARM64 in addition to AMD64.
Costs 4 jobs instead of 2, and add-ons that don't need it can drop the runner from matrix.os.

The Issue

How This PR Solves The Issue

Adds an os matrix to tests.yml and points runs-on at it:

os: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}

Why ubuntu-24.04-arm? Because ubuntu-latest currently points to 24.04, so both runners use the same Ubuntu release - a failure on one of them means an architecture problem, not an OS difference. ubuntu-26.04-arm exists but is still in public preview.

When ubuntu-latest moves to 26.04, the update checker can flag ubuntu-24.04-arm and suggest replacing it with ubuntu-26.04-arm.

The update checker now requires matrix.os with runs-on: ${{ matrix.os }}. It deliberately does not check for ubuntu-24.04-arm itself - running on ARM64 stays optional.

Manual Testing Instructions

ddev add-on get ddev/ddev-addon-template --pr REPLACE_ME_WITH_THIS_PR_NUMBER
ddev restart

Automated Testing Overview

4 jobs instead of 2 (stable/HEAD + AMD64/ARM64).

Release/Deployment Notes

Existing add-ons will see a new update checker action item asking them to switch to the os matrix.

@stasadev
stasadev merged commit 46e8c10 into main Sep 11, 2026
4 checks passed
@stasadev
stasadev deleted the 20260911_stasadev_os_matrix branch September 11, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ARM64 testing

1 participant