Commit Graph

4 Commits

Author SHA1 Message Date
siujamo 5bef4ef2ee fix(ci): switch to zigbuild for cross-compilation
- Replace cross-rs with Zig toolchain and cargo-zigbuild
- Add rustup target installation step for all platforms
- Include --target flag in native Linux build for consistent output paths

cross-rs has no Docker image for macOS targets and the Windows image
ships with a broken cargo PATH, causing all non-Linux builds to fail.
Zig provides its own cross-linker and ships macOS/Win libc headers,
enabling cross-compilation for all three targets from a single Linux
runner.
2026-06-22 10:37:27 +08:00
siujamo 9df82f99b5 fix(ci): use rustup install script in CI pipeline 2026-06-22 10:37:26 +08:00
siujamo cfc20d4b89 ci: switch to cross-rs for cross-compilation 2026-06-22 10:37:26 +08:00
siujamo 23af3f9c1d ci: add Gitea Actions build workflow 2026-06-22 10:37:26 +08:00