Skip to content

ci: add loongarch64 release targets and pin actions to latest#38

Merged
runlevel5 merged 1 commit into
mainfrom
ci/loongarch64-and-pin-actions
May 26, 2026
Merged

ci: add loongarch64 release targets and pin actions to latest#38
runlevel5 merged 1 commit into
mainfrom
ci/loongarch64-and-pin-actions

Conversation

@runlevel5

@runlevel5 runlevel5 commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

Two CI/release changes:

1. LoongArch64 release targets

Adds release builds for loongarch64-unknown-linux-gnu (LP64D / "gnuf64" hard-float ABI) and loongarch64-unknown-linux-musl.

  • Both are Tier 2 with host tools (musl promotion #126298), so rustup ships prebuilt std — no nightly/build-std.
  • The crate is effectively pure-Rust (only libc FFI; crypto is curve25519-dalek + fiat-crypto), so cross-compiling needs just a linker.
  • Neither bootlin (used for the existing aarch64/ppc64le musl entries) nor Ubuntu apt provides a LoongArch toolchain, so these use the existing use_cross: true path — the same mechanism already used for FreeBSD. cross-rs has images for both targets.
  • Build-only, consistent with every other cross target here.

Note: there is no loongarch64-unknown-linux-gnuf64 Rust triple; gnuf64 is a GCC ABI label folded into the standard ...-gnu target.

2. Bump pinned GitHub Actions to latest

All actions remain SHA-pinned with version comments:

Action Before After
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 stable (newer tip)
rustsec/audit-check v2.0.0 unchanged (latest)

SHAs resolved live from each repo's latest release tag. rust-toolchain keeps the # stable style (the action defaults toolchain: stable, so no input change needed).

Test plan

  • CI (test / clippy / fmt) green
  • Release workflow builds both LoongArch targets on next version bump

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)
@runlevel5 runlevel5 force-pushed the ci/loongarch64-and-pin-actions branch from 3fe52a9 to 15eab40 Compare May 26, 2026 02:37
@runlevel5 runlevel5 merged commit 12ed2d4 into main May 26, 2026
3 checks passed
@runlevel5 runlevel5 deleted the ci/loongarch64-and-pin-actions branch May 26, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant