Skip to content

[IMP] Add ARM64 support#37

Merged
david-banon-tecnativa merged 3 commits into
Tecnativa:masterfrom
Pyxiris:add-arm
Jun 15, 2026
Merged

[IMP] Add ARM64 support#37
david-banon-tecnativa merged 3 commits into
Tecnativa:masterfrom
Pyxiris:add-arm

Conversation

@ljmnoonan

Copy link
Copy Markdown
Contributor

This PR changes the CI to build multiarch images; currently AMD64 and ARM64 and ensures tests are run on every architecture using QEMU.
It also makes the CI much more repo agnostic so that forks can run these actions in their own repo and push to their own registry with little to no customization.
Finally, I cleaned up the badges in the readme as several of them were no longer in use and also bumped the versions on the actions/checkout and actions/cache actions in order to stop triggering the Node.js 20 deprecation warnings

For reference:
It appears that an attempt to build for ARM64 has been made before as #17 and #18 and mentioned in #16, but was mixed in with introducing PG 16 and so went by the wayside.

@david-banon-tecnativa david-banon-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi, thanks for putting in the work for this PR it is a welcome change, some comments.

Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/ci.yaml
ljmnoonan added 3 commits June 9, 2026 18:42
The ultimate goal of this commit is to support building arm64, but I
wound up changing a few different things along the way as well.
First of all, we build the image for both architectures in one step,
but then we have to push it to a local registry in order to pull each
architecture and test. Then, once the tests have passed, we re-tag the
image or manifest from the local registry and push it to ghcr and
Dockerhub (if Dockerhub credentials exist).
Not essential to this task, but very beneficial for myself and any
future contributors, I have made the whole thing repo agnostic, so
anyone can just fork and test, no CI customization required.
Node.js 20 is EOL, so we need to move to actions that support node.js 24
pre-commit/action should also be updated, but it seems the pre-commit
team has abandoned this Github action in favor of their https://pre-commit.ci/
service. This will have to wait for another time.
@david-banon-tecnativa david-banon-tecnativa merged commit 5a3dcfc into Tecnativa:master Jun 15, 2026
2 checks passed
@ljmnoonan ljmnoonan deleted the add-arm branch June 15, 2026 21:22
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.

2 participants