aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-01-23 13:20:30 +0100
committerCrozet Sébastien <developer@crozet.re>2021-01-23 13:20:30 +0100
commitded7bb746b661d19f1c986b1aa2e0b6d7b94e193 (patch)
treeedeeb11c83e19a4c63e37652f866ce68634a7585 /.github
parente45e5f109c7527a49af2a3fe4404e0a5efd92f2f (diff)
downloadrapier-ded7bb746b661d19f1c986b1aa2e0b6d7b94e193.tar.gz
rapier-ded7bb746b661d19f1c986b1aa2e0b6d7b94e193.tar.bz2
rapier-ded7bb746b661d19f1c986b1aa2e0b6d7b94e193.zip
CI: deny warnings.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rapier-ci-build.yml4
1 files changed, 4 insertions, 0 deletions
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