mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Add run:s
This commit is contained in:
parent
422e24e1d4
commit
a36f08dbdd
2 changed files with 17 additions and 17 deletions
|
@ -11,9 +11,9 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- rustup component add clippy
|
- run: rustup component add clippy
|
||||||
- cargo clippy --no-default-features -- -D warnings
|
- run: cargo clippy --no-default-features -- -D warnings
|
||||||
- cargo clippy --no-default-features --features io-uring -- -D warnings
|
- run: cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -21,4 +21,4 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- cargo test
|
- run: cargo test
|
||||||
|
|
|
@ -10,9 +10,9 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- rustup component add clippy
|
- run: rustup component add clippy
|
||||||
- cargo clippy --no-default-features -- -D warnings
|
- run: cargo clippy --no-default-features -- -D warnings
|
||||||
- cargo clippy --no-default-features --features io-uring -- -D warnings
|
- run: cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- cargo test
|
- run: cargo test
|
||||||
|
|
||||||
build-amd64:
|
build-amd64:
|
||||||
needs:
|
needs:
|
||||||
|
@ -31,9 +31,9 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
image: docker.io/asonix/rust-builder:latest-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- cargo build --target=$TARGET --release
|
- run: cargo build --target=$TARGET --release
|
||||||
- mkdir artifacts
|
- run: mkdir artifacts
|
||||||
- cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
- run: cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-amd64
|
name: linux-amd64
|
||||||
|
@ -48,9 +48,9 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-arm32v7
|
image: docker.io/asonix/rust-builder:latest-linux-arm32v7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- cargo build --target=$TARGET --release
|
- run: cargo build --target=$TARGET --release
|
||||||
- mkdir artifacts
|
- run: mkdir artifacts
|
||||||
- cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
- run: cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-arm32v7
|
name: linux-arm32v7
|
||||||
|
@ -65,9 +65,9 @@ jobs:
|
||||||
image: docker.io/asonix/rust-builder:latest-linux-arm64v8
|
image: docker.io/asonix/rust-builder:latest-linux-arm64v8
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- cargo build --target=$TARGET --release
|
- run: cargo build --target=$TARGET --release
|
||||||
- mkdir artifacts
|
- run: mkdir artifacts
|
||||||
- cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
- run: cp target/$TARGET/release/pict-rs artifacts/pict-rs
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-arm64v8
|
name: linux-arm64v8
|
||||||
|
|
Loading…
Reference in a new issue