mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-11-23 20:09:55 +00:00
Enable deny_warnings in CI
This commit is contained in:
parent
970ed99049
commit
0e84959b2a
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user