Setup VPS w/ ARM64 runner to avoid cross-compile #49
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dark/nether-voicebridge#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linked to #43
Suggested to use Oracle free tier Ampere VPS - will be 100% free and be more than sufficient for this task.
https://www.oracle.com/cloud/free/
Sign up for the always-free tier and have an account prepared.
Provision a VM with the following criteria:
Finish provisioning and sign into the VPS!
Provisioning while your account is locked as "Always Free" might mean there are no available Ampere instances in the region you specified. You can try again later - for some people this is a couple of days. Or even a couple of hours.
If you don't want to wait (I gave up waiting after a few weeks of bad luck) you can convert your account to Pay-As-You-Go. Doing so will allow you to provision a VM immediately. As long as you stay within the free tier limits you will not be billed - it just unlocks the ability for you to provision paid services.
Done — merged to master
70d5362. The full arm64 story is now shipped:linux-arm64) has been live for a while, natively building theimage-arm64leg on every release (green since ~alpha.21).docker pullresolves amd64/arm64 automatically.packagesjob now loops both architectures — 7 release assets per tag (_amd64.deb/_arm64.deb,x86_64/aarch64rpms,x86_64-linux/aarch64-linuxtarballs,SHA256SUMS). The arm64 binary is extracted from the arm64 image withdocker create/cpon the amd64 runner (never runs the container → no QEMU), so there is still exactly one compile per (tag, arch), each native.packaging/build-packages.shderives the arch from the host for local builds.Verified piecewise without a tag: nfpm arch interpolation (correct names +
Architecturefields in deb control / rpm headers for both arches) and both image-extraction legs against the real alpha.22 images on the runner host (correct ELF machine each). First full end-to-end exercise lands with the next release tag.Docs updated:
docs/packaging.md,docs/docker-usage.md(multi-arch + CI sections), README standalone-tarball snippet.