all in one step

This commit is contained in:
asonix 2024-02-07 14:12:15 -06:00
parent 0139e0c45f
commit 4911caa052

View file

@ -10,6 +10,7 @@ jobs:
container:
image: docker.io/node:20-bookworm
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
@ -19,8 +20,6 @@ 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
- uses: actions/checkout@v4
- run: |
cargo clippy --no-default-features -- -D warnings
cargo zigbuild --target x86_64-unknown-linux-musl
cargo zigbuild --target armv7-unknown-linux-musleabihf