mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
pls zig
This commit is contained in:
parent
30f320b7d5
commit
f01c175451
1 changed files with 4 additions and 7 deletions
|
@ -20,13 +20,10 @@ jobs:
|
||||||
rustup component add clippy ;
|
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 ;
|
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 ;
|
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 > zig.tar.gz ;
|
curl -L --proto '=https' --tlsv1.2 -sSfO https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz ;
|
||||||
unxz zig.tar.xz ;
|
unxz zig-linux-x86_64-0.11.0.tar.xz ;
|
||||||
tar -xf zig.tar zig ;
|
tar -xf zig-linux-x86_64-0.11.0.tar ;
|
||||||
ls ;
|
export PATH=$PATH:$(pwd)/zig-linux-x86_64-0.11.0 ;
|
||||||
ls -lh zig ;
|
|
||||||
export PATH=$PATH:$(pwd)/zig ;
|
|
||||||
chmod +x ./zig/zig ;
|
|
||||||
cargo zigbuild --target x86_64-unknown-linux-musl ;
|
cargo zigbuild --target x86_64-unknown-linux-musl ;
|
||||||
cargo zigbuild --target armv7-unknown-linux-musleabihf ;
|
cargo zigbuild --target armv7-unknown-linux-musleabihf ;
|
||||||
cargo zigbuild --target aarch64-unknown-linux-musl ;
|
cargo zigbuild --target aarch64-unknown-linux-musl ;
|
||||||
|
|
Loading…
Reference in a new issue