Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper arm64 testing #22

Merged
merged 15 commits into from
Feb 28, 2023
Merged

Proper arm64 testing #22

merged 15 commits into from
Feb 28, 2023

Conversation

raphael-theriault-swi
Copy link
Member

@raphael-theriault-swi raphael-theriault-swi commented Feb 24, 2023

Updates the CI workflows to fully test arm64 support on the same range of targets as x64 (with one minor exception).

The matrix is still loaded from a JSON file using a script, but each entry is also duplicated with a new arch property set to arm64 and x64. Old alpine releases are currently filtered out from arm64 tests due to a GHA runner issue. The script also creates a new output containing a list of all images tested on arm64.

A new job is added before testing to launch the runners and one after to terminate them. Both arm64 and x64 use the same job for testing with runs-on taking a different value depending on the architecture. There's an example in the playground repo with essentially the same logic but without all the bindings-specific cruft to get a better idea of how this works.

@raphael-theriault-swi raphael-theriault-swi marked this pull request as ready for review February 28, 2023 22:49
Comment on lines +148 to +149
# install deps and spoof os-release to get gha to work on arm64 alpine
# https://github.com/actions/runner/issues/801#issuecomment-1374967227

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link

@tammy-baylis-swi tammy-baylis-swi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!! Excited!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants