Enable deny_warnings in CI

This commit is contained in:
David Tolnay 2021-01-02 15:54:30 -08:00
parent 970ed99049
commit 0e84959b2a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -29,6 +29,7 @@ jobs:
flags: /EHsc
env:
CXXFLAGS: ${{matrix.flags}}
RUSTFLAGS: --cfg deny_warnings
steps:
- name: Enable symlinks (windows)
if: matrix.os == 'windows'
@ -45,7 +46,7 @@ jobs:
# still ensure the test is kept passing on the basis of the scheduled
# builds.
if: matrix.os && github.event_name != 'schedule'
run: echo 'RUSTFLAGS=--cfg skip_ui_tests' >> $GITHUB_ENV
run: echo "RUSTFLAGS=--cfg skip_ui_tests $RUSTFLAGS" >> $GITHUB_ENV
shell: bash
- run: cargo run --manifest-path demo/Cargo.toml
- run: cargo test --workspace --exclude cxx-test-suite