2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00
This commit is contained in:
asonix 2024-02-06 22:16:46 -06:00
parent b68deb23a1
commit 8b5cac35ea
2 changed files with 6 additions and 5 deletions

View file

@ -33,7 +33,7 @@ jobs:
- image: docker.io/asonix/rust-builder:latest-linux-amd64 - image: docker.io/asonix/rust-builder:latest-linux-amd64
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
- image: docker.io/asonix/rust-builder:latest-linux-arm32v7 - image: docker.io/asonix/rust-builder:latest-linux-arm32v7
target: armv7-unkown-linux-musleabihf target: armv7-unknown-linux-musleabihf
- image: docker.io/asonix/rust-builder:latest-linux-arm64v8 - image: docker.io/asonix/rust-builder:latest-linux-arm64v8
target: aarch64-unkown-linux-musl target: aarch64-unkown-linux-musl
runs-on: docker runs-on: docker

View file

@ -9,8 +9,8 @@ jobs:
container: container:
image: docker.io/asonix/rust-builder:latest-linux-amd64 image: docker.io/asonix/rust-builder:latest-linux-amd64
steps: steps:
- uses: actions/checkout@v4
- run: | - run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
rustup component add clippy rustup component add clippy
cargo clippy --no-default-features -- -D warnings cargo clippy --no-default-features -- -D warnings
cargo clippy --no-default-features --features io-uring -- -D warnings cargo clippy --no-default-features --features io-uring -- -D warnings
@ -20,8 +20,9 @@ jobs:
container: container:
image: docker.io/asonix/rust-builder:latest-linux-amd64 image: docker.io/asonix/rust-builder:latest-linux-amd64
steps: steps:
- uses: actions/checkout@v4 - run: |
- run: cargo test git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
cargo test
build: build:
needs: needs:
@ -42,8 +43,8 @@ jobs:
container: container:
image: docker.io/asonix/rust-builder:${{ matrix.tag }} image: docker.io/asonix/rust-builder:${{ matrix.tag }}
steps: steps:
- uses: actions/checkout@v4
- run: | - run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
cargo build --target=${{ matrix.target }} --release cargo build --target=${{ matrix.target }} --release
mkdir artifacts mkdir artifacts
cp target/${{ matrix.target }}/release/pict-rs artifacts/pict-rs cp target/${{ matrix.target }}/release/pict-rs artifacts/pict-rs