From d646a0d7f82028b17d36af9bddc2e506a292008d Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 7 Feb 2024 14:22:33 -0600 Subject: [PATCH] multi-step zigging --- .forgejo/workflows/check.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 648a373..bb6a41c 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -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