chore: disable warnings in old CI (#4691)

This commit is contained in:
Alice Ryhl
2022-05-14 20:16:21 +02:00
parent aa03622cf3
commit b24df49a9d
22 changed files with 37 additions and 323 deletions
+4 -10
View File
@@ -7,7 +7,6 @@ on:
name: CI
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
nightly: nightly-2021-10-25
minrust: 1.45.2
@@ -65,11 +64,6 @@ jobs:
run: cargo hack test --each-feature
working-directory: tests-integration
# Run macro build tests
- name: test tests-build --each-feature
run: cargo hack test --each-feature
working-directory: tests-build
# Build benchmarks. Run of benchmarks is done by bench.yml workflow.
- name: build benches
run: cargo build --benches
@@ -129,7 +123,7 @@ jobs:
run: cargo test --all-features
working-directory: tokio
env:
RUSTFLAGS: --cfg tokio_unstable -Dwarnings
RUSTFLAGS: --cfg tokio_unstable
miri:
name: miri
@@ -213,7 +207,7 @@ jobs:
- name: check --each-feature --unstable
run: cargo hack check --all --each-feature -Z avoid-dev-deps
env:
RUSTFLAGS: --cfg tokio_unstable -Dwarnings
RUSTFLAGS: --cfg tokio_unstable
minrust:
name: minrust
@@ -298,7 +292,7 @@ jobs:
run: cargo doc --lib --no-deps --all-features --document-private-items
env:
RUSTFLAGS: --cfg docsrs
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
RUSTDOCFLAGS: --cfg docsrs
loom-compile:
name: build loom tests
@@ -312,7 +306,7 @@ jobs:
run: cargo test --no-run --lib --features full
working-directory: tokio
env:
RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings
RUSTFLAGS: --cfg loom --cfg tokio_unstable
check-readme:
name: Check README
+1 -2
View File
@@ -8,7 +8,6 @@ on:
name: Loom
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
jobs:
@@ -35,6 +34,6 @@ jobs:
run: cargo test --lib --release --features full -- --nocapture $SCOPE
working-directory: tokio
env:
RUSTFLAGS: --cfg loom --cfg tokio_unstable -Dwarnings
RUSTFLAGS: --cfg loom --cfg tokio_unstable
LOOM_MAX_PREEMPTIONS: 2
SCOPE: ${{ matrix.scope }}