-
-
Notifications
You must be signed in to change notification settings - Fork 941
Updating rasky arm image to v1.0.0 #6269
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
base: main
Are you sure you want to change the base?
Conversation
dessalines
commented
Jan 6, 2026
- Fixes Fix ARM release builds #6201
|
You also need to enable ARM release builds in .woodpecker.yaml before creating the tag. The error failure from crates.io can be ignored, its only because we still have a git dependency. |
docker/Dockerfile
Outdated
| cargo clean --release; \ | ||
| cargo build --features "${CARGO_BUILD_FEATURES}" --release; \ | ||
| mv "./target/$CARGO_BUILD_TARGET/$RUST_RELEASE_MODE/lemmy_server" /home/lemmy/lemmy_server; \ | ||
| fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting should be unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
K i reverted.
|
So the ARM builder is now upgraded to the version from raskyld/lemmy-cross-toolchains#9, but the build is still failing with the same error as before ( https://woodpecker.join-lemmy.org/repos/129/pipeline/18515/5#L4167 |
|
Hm, I got a good build from 9cf6da1 (0.19.5), but I also bumped the runner image. Maybe that was what did it. This was my docker build command which was mostly copy paste from a failed job: |
|
rasky's v1.0.0 has your PR merged, but it still failed: raskyld/lemmy-cross-toolchains@v0.6.0...v1.0.0 Maybe its debian sid instead of debian bookworm. I can try that. tbh doing arm64 support is very tiring, especially since we don't have arm devices. IMO it should probably be up to people with arm expertise, willing to debug all these issues (which seem to happen on every rust upgrade), to build and release their own images. |
|
Changing debian did nothing, it still failed. |
|
Hi there, I am not sure I understand why new versions of Rust started passing this flag, and why the
I think GH now has public ARM runners, see here: https://github.blog/changelog/2025-08-07-arm64-hosted-runners-for-public-repositories-are-now-generally-available/ You may not need cross-compilation at all. |
|
We don't rely on github for CI, but rather use an open source CI system called woodpecker with our own runners. If someone wanted to offer their arm machine as a CI runner tho, that'd be helpful. |
|
I have a small arm k8s cluster in OCI that I could host a pod on if that's all that's needed. mattlqx.32 on Signal if you're interested. |