From ded7bb746b661d19f1c986b1aa2e0b6d7b94e193 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Sat, 23 Jan 2021 13:20:30 +0100 Subject: CI: deny warnings. --- .github/workflows/rapier-ci-build.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/rapier-ci-build.yml b/.github/workflows/rapier-ci-build.yml index 1ed3595..86b56aa 100644 --- a/.github/workflows/rapier-ci-build.yml +++ b/.github/workflows/rapier-ci-build.yml @@ -18,6 +18,8 @@ jobs: run: cargo fmt -- --check build-native: runs-on: ubuntu-latest + env: + RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v2 - 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; build-wasm: runs-on: ubuntu-latest + env: + RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v2 - run: rustup target add wasm32-unknown-unknown -- cgit