ci: build and publish artifacts on amd64
Metadata
Current evaluation
Merged PR #604 updated CI to build and publish artifacts on amd64, avoiding ghcr.io/pypa/gh-action-pypi-publish incompatibility on arm64.
Resolution: closed resolved
Reason: PR #604 was approved with no unresolved review comments and merged, changing the release workflow to perform the wheel build and artifact publication on amd64.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox`?
-----
ghcr.io/pypa/gh-action-pypi-publish seems to only be available on amd64:
```
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
```
([source](https://github.com/canonical/craft-application/actions/runs/12752890346/job/35543369150#step:4:13))
Also, I think it makes sense to build the wheel on amd64.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #604 updated CI to build and publish artifacts on amd64, avoiding ghcr.io/pypa/gh-action-pypi-publish incompatibility on arm64. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #604 in commit 96f17afc, moving artifact builds and PyPI publication to amd64 to avoid unsupported execution on arm64. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #604 (commit 96f17afc), moving artifact builds and PyPI publication to amd64 for GHCR publishing compatibility. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-application#604 (commit 96f17afc), moving artifact build and PyPI publication to amd64. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a CI update to build and publish artifacts on amd64. This resolves a platform mismatch warning with the PyPI publish action and aligns with available build infrastructure. Approved by reviewers and merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #63 ci: add arm64 build (core24-8) | snapcraft-rocks | merged | Merged PR #63 added an arm64 core24-8 build job; both arm64 and amd64 CI checks passed. Arm64 artifacts were not yet published to GHCR. | |
| #301 ci: restrict pypi job to amd64 | starbase | merged | Merged PR #301 via commit b6842c0 restricted the PyPI publishing job to amd64, matching the architecture of its Docker-based publisher. | |
| #71 ci: add arm64 build (core22-7) | snapcraft-rocks | merged | Merged PR #71 added core22-7 arm64 CI builds alongside amd64, with all checks passing. GHCR publishing was excluded; follow-up PR #78 later added multi-arch publishing for core22-7. |