Skip to content

Merge pull request #2 from frames-sg/release/0.1.2 #21

Merge pull request #2 from frames-sg/release/0.1.2

Merge pull request #2 from frames-sg/release/0.1.2 #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
rust:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- run: rustup component add rustfmt clippy
- run: python3 tools/test_corpus_build.py
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- run: cargo test --workspace --all-features
- run: cargo test -p jxr --no-default-features
- run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps
# The owner-triggered Metal hardware workflow reports status "metal" on the tested commit.
fuzz-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- run: rustup component add rustfmt clippy
- run: cargo fmt --manifest-path crates/jxr/fuzz/Cargo.toml -- --check
- run: cargo clippy --manifest-path crates/jxr/fuzz/Cargo.toml --all-targets -- -D warnings