mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
semicolons
This commit is contained in:
parent
d646a0d7f8
commit
30f320b7d5
1 changed files with 19 additions and 19 deletions
|
@ -12,25 +12,25 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile minimal -y
|
||||
export PATH=$PATH:/root/.cargo/bin
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
rustup target add armv7-unknown-linux-musleabihf
|
||||
rustup target add aarch64-unknown-linux-musl
|
||||
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 > 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
|
||||
cargo zigbuild --target armv7-unknown-linux-musleabihf
|
||||
cargo zigbuild --target aarch64-unknown-linux-musl
|
||||
cargo clippy --no-default-features -- -D warnings
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile minimal -y ;
|
||||
export PATH=$PATH:/root/.cargo/bin ;
|
||||
rustup target add x86_64-unknown-linux-musl ;
|
||||
rustup target add armv7-unknown-linux-musleabihf ;
|
||||
rustup target add aarch64-unknown-linux-musl ;
|
||||
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 > 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 ;
|
||||
cargo zigbuild --target armv7-unknown-linux-musleabihf ;
|
||||
cargo zigbuild --target aarch64-unknown-linux-musl ;
|
||||
cargo clippy --no-default-features -- -D warnings ;
|
||||
|
||||
clippy:
|
||||
runs-on: docker
|
||||
|
|
Loading…
Reference in a new issue