diff --git a/.github/workflows/parry-ci-build.yml b/.github/workflows/parry-ci-build.yml index 61be0fca..21690d8a 100644 --- a/.github/workflows/parry-ci-build.yml +++ b/.github/workflows/parry-ci-build.yml @@ -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: