continuwuity/.forgejo/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Morgan ea269d2761
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 6s
Checks / Prek / Check changed files (pull_request) Successful in 8s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m9s
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
ci: Compile arm64 natively on the ubuntu-arm64 runner
The arm64 build cross-compiled with the Rust target triple inside an
amd64 container and copied the binary out, deliberately avoiding Docker
emulation because arm64 emulation is unreliable on some BuildKit
instances.

A dedicated Ubuntu VM on an M4 Mac Mini is now available under the
ubuntu-arm64 label. Each matrix entry carries its own runner label and a
native flag, so builds can be moved between runners or between build
modes without changing the workflow structure.

Where native is set, the build-native action compiles on the host and
assembles the artefact tree, leaving Docker to package it. It builds
into a target directory outside the per-run workspace so cargo can reuse
artefacts between runs. The Dockerfile's ARTIFACTS argument selects
whether artefacts come from the builder stage or from out/ in the build
context; prepper and the final image are unchanged. Libraries are
resolved where the binary was linked, so arm64 images carry Ubuntu's
rather than Debian's.

Architecture flags are split into TARGET_MARCH, which feeds -march for
the C and C++ compilers, and TARGET_RUSTFLAGS, which is appended to
RUSTFLAGS. amd64 passes haswell to both as before; arm64 passes +crc,
which rustc does not enable by default. TARGET_CPU still drives the tag
and artefact suffix.
2026-10-04 22:31:28 +00:00
..
auto-labeler.yml fix(ci): Ignore changelog entries in the autolabeller 2026-05-19 10:57:39 +01:00
build-debian.yml chore(deps): update github-actions-digest 2026-07-28 05:01:29 +00:00
build-nix.yml chore(deps): update github-actions-digest 2026-09-02 05:02:43 +00:00
check-changelog.yml fix(ci): Correct remote ref fetch 2026-06-27 01:00:33 +01:00
documentation.yml chore(deps): update github-actions-digest 2026-09-29 05:01:36 +00:00
mirror-images.yml chore(deps): update github-actions-digest 2026-09-15 05:01:33 +00:00
prek-checks.yml chore: resolve conflicts with main 2026-09-12 15:07:35 -05:00
release-image.yml ci: Compile arm64 natively on the ubuntu-arm64 runner 2026-10-04 22:31:28 +00:00
renovate.yml chore(deps): update ghcr.io/renovatebot/renovate docker tag to v44.115.13 2026-09-28 05:03:08 +00:00
update-flake-hashes.yml fix: don't allow calling update-flake-hashes manually 2026-09-12 15:00:01 -04:00