Skip to content

Commit

Permalink
feat: add clippy check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Mar 24, 2024
1 parent 0af902b commit b90421f
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/parry-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,34 @@ jobs:
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt -- --check
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clippy
run: cargo clippy
build-native:
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y cmake libxcb-composite0-dev
- name: Build parry2d
run: cargo build --verbose -p parry2d;
- name: Build parry3d
run: cargo build --verbose -p parry3d;
- name: Build parry2d SIMD
run: cd crates/parry2d; cargo build --verbose --features simd-stable;
- name: Build parry3d SIMD
run: cd crates/parry3d; cargo build --verbose --features simd-stable;
- name: Check serialization
run: cargo check --features bytemuck-serialize,serde-serialize,rkyv-serialize;
- name: Run tests
run: cargo test
- uses: actions/checkout@v3
- run: sudo apt-get install -y cmake libxcb-composite0-dev
- name: Build parry2d
run: cargo build --verbose -p parry2d;
- name: Build parry3d
run: cargo build --verbose -p parry3d;
- name: Build parry2d SIMD
run: cd crates/parry2d; cargo build --verbose --features simd-stable;
- name: Build parry3d SIMD
run: cd crates/parry3d; cargo build --verbose --features simd-stable;
- name: Check serialization
run: cargo check --features bytemuck-serialize,serde-serialize,rkyv-serialize;
- name: Run tests
run: cargo test
build-wasm:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit b90421f

Please sign in to comment.