multi-step zigging
Some checks failed
/ tests (push) Waiting to run
/ check (docker.io/asonix/rust-builder:latest-linux-amd64, x86_64-unknown-linux-musl) (push) Waiting to run
/ zigbuild (push) Failing after 25s
/ check (docker.io/asonix/rust-builder:latest-linux-arm32v7, armv7-unknown-linux-musleabihf) (push) Waiting to run
/ check (docker.io/asonix/rust-builder:latest-linux-arm64v8, aarch64-unknown-linux-musl) (push) Waiting to run
/ clippy (push) Has been cancelled

This commit is contained in:
asonix 2024-02-07 14:22:33 -06:00
parent 61d4ed5584
commit d646a0d7f8

View file

@ -20,8 +20,11 @@ jobs:
rustup component add clippy
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
yes | cargo binstall cargo-zigbuild
curl -L --proto '=https' --tlsv1.2 -sSf https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | unxz > zig.tar
tar -xf zig.tar
curl -L --proto '=https' --tlsv1.2 -sSf https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz > zig.tar.gz
unxz zig.tar.xz
tar -xf zig.tar zig
ls
ls -lh zig
export PATH=$PATH:$(pwd)/zig
chmod +x ./zig/zig
cargo zigbuild --target x86_64-unknown-linux-musl