mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Hmm
This commit is contained in:
parent
678cbba120
commit
b4433b9f2c
1 changed files with 36 additions and 36 deletions
|
@ -7,42 +7,45 @@ env:
|
|||
REGISTRY_IMAGE: asonix/pictrs
|
||||
|
||||
jobs:
|
||||
clippy:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker.io/node:20-bookworm
|
||||
steps:
|
||||
-
|
||||
name: Checkout pict-rs
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
-
|
||||
name: Setup Rust
|
||||
uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
|
||||
-
|
||||
name: Clippy
|
||||
run: |
|
||||
cargo clippy --no-default-features -- -D warnings
|
||||
cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||
# clippy:
|
||||
# runs-on: docker
|
||||
# container:
|
||||
# image: docker.io/node:20-bookworm
|
||||
# steps:
|
||||
# -
|
||||
# name: Checkout pict-rs
|
||||
# uses: https://github.com/actions/checkout@v4
|
||||
# -
|
||||
# name: Setup Rust
|
||||
# uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
|
||||
# -
|
||||
# name: Clippy
|
||||
# run: |
|
||||
# cargo clippy --no-default-features -- -D warnings
|
||||
# cargo clippy --no-default-features --features io-uring -- -D warnings
|
||||
|
||||
tests:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker.io/node:20-bookworm
|
||||
steps:
|
||||
-
|
||||
name: Checkout pict-rs
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
-
|
||||
name: Setup Rust
|
||||
uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
|
||||
-
|
||||
name: Test
|
||||
run: cargo test
|
||||
# tests:
|
||||
# runs-on: docker
|
||||
# container:
|
||||
# image: docker.io/node:20-bookworm
|
||||
# steps:
|
||||
# -
|
||||
# name: Checkout pict-rs
|
||||
# uses: https://github.com/actions/checkout@v4
|
||||
# -
|
||||
# name: Setup Rust
|
||||
# uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main
|
||||
# -
|
||||
# name: Test
|
||||
# run: cargo test
|
||||
|
||||
build:
|
||||
needs:
|
||||
- clippy
|
||||
- tests
|
||||
# needs:
|
||||
# - clippy
|
||||
# - tests
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker.io/node:20-bookworm
|
||||
strategy:
|
||||
matrix:
|
||||
fail-fast: false
|
||||
|
@ -56,9 +59,6 @@ jobs:
|
|||
- target: aarch64-unknown-linux-musl
|
||||
artifact: linux-arm64v8
|
||||
platform: linux/arm64
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker.io/node:20-bookworm
|
||||
steps:
|
||||
-
|
||||
name: Checkout pict-rs
|
||||
|
|
Loading…
Reference in a new issue