CI: deny warnings.

This commit is contained in:
Crozet Sébastien
2021-01-23 13:20:30 +01:00
parent e45e5f109c
commit ded7bb746b

View File

@@ -18,6 +18,8 @@ jobs:
run: cargo fmt -- --check run: cargo fmt -- --check
build-native: build-native:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: sudo apt-get install -y cmake libxcb-composite0-dev - run: sudo apt-get install -y cmake libxcb-composite0-dev
@@ -49,6 +51,8 @@ jobs:
run: cargo check -j 1 --verbose -p rapier-examples-3d; run: cargo check -j 1 --verbose -p rapier-examples-3d;
build-wasm: build-wasm:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: rustup target add wasm32-unknown-unknown - run: rustup target add wasm32-unknown-unknown