ci: add loongarch64 release targets and pin actions to latest#38
Merged
Conversation
Add release builds for loongarch64-unknown-linux-gnu and loongarch64-unknown-linux-musl. Both are Tier 2 (with host tools) targets, and the project is effectively pure-Rust (only libc FFI), so they build via the existing `use_cross: true` path that already serves FreeBSD. No bootlin toolchain exists for LoongArch and Ubuntu apt ships no cross-GCC, so cross-rs (which has images for both) is the cleanest source for the linker. Also bump every GitHub Action to its latest release, keeping SHA pins: actions/checkout v6.0.1 -> v6.0.2 actions/cache v5.0.2 -> v5.0.5 actions/upload-artifact v6.0.0 -> v7.0.1 actions/download-artifact v7.0.0 -> v8.0.1 softprops/action-gh-release v2.5.0 -> v3.0.0 dtolnay/rust-toolchain stable branch tip rustsec/audit-check v2.0.0 (already latest)
3fe52a9 to
15eab40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two CI/release changes:
1. LoongArch64 release targets
Adds release builds for
loongarch64-unknown-linux-gnu(LP64D / "gnuf64" hard-float ABI) andloongarch64-unknown-linux-musl.build-std.libcFFI; crypto iscurve25519-dalek+fiat-crypto), so cross-compiling needs just a linker.use_cross: truepath — the same mechanism already used for FreeBSD. cross-rs has images for both targets.2. Bump pinned GitHub Actions to latest
All actions remain SHA-pinned with version comments:
actions/checkoutactions/cacheactions/upload-artifactactions/download-artifactsoftprops/action-gh-releasedtolnay/rust-toolchainrustsec/audit-checkSHAs resolved live from each repo's latest release tag.
rust-toolchainkeeps the# stablestyle (the action defaultstoolchain: stable, so no input change needed).Test plan