2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00
This commit is contained in:
asonix 2024-02-07 21:14:56 -06:00
parent 678cbba120
commit b4433b9f2c

View file

@ -7,42 +7,45 @@ env:
REGISTRY_IMAGE: asonix/pictrs REGISTRY_IMAGE: asonix/pictrs
jobs: jobs:
clippy: # clippy:
runs-on: docker # runs-on: docker
container: # container:
image: docker.io/node:20-bookworm # image: docker.io/node:20-bookworm
steps: # steps:
- # -
name: Checkout pict-rs # name: Checkout pict-rs
uses: https://github.com/actions/checkout@v4 # uses: https://github.com/actions/checkout@v4
- # -
name: Setup Rust # name: Setup Rust
uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main # uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
- # -
name: Clippy # name: Clippy
run: | # run: |
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
tests: # tests:
runs-on: docker # runs-on: docker
container: # container:
image: docker.io/node:20-bookworm # image: docker.io/node:20-bookworm
steps: # steps:
- # -
name: Checkout pict-rs # name: Checkout pict-rs
uses: https://github.com/actions/checkout@v4 # uses: https://github.com/actions/checkout@v4
- # -
name: Setup Rust # name: Setup Rust
uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main # uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
- # -
name: Test # name: Test
run: cargo test # run: cargo test
build: build:
needs: # needs:
- clippy # - clippy
- tests # - tests
runs-on: docker
container:
image: docker.io/node:20-bookworm
strategy: strategy:
matrix: matrix:
fail-fast: false fail-fast: false
@ -56,9 +59,6 @@ jobs:
- target: aarch64-unknown-linux-musl - target: aarch64-unknown-linux-musl
artifact: linux-arm64v8 artifact: linux-arm64v8
platform: linux/arm64 platform: linux/arm64
runs-on: docker
container:
image: docker.io/node:20-bookworm
steps: steps:
- -
name: Checkout pict-rs name: Checkout pict-rs