@@ -180,7 +180,7 @@ jobs:
180
180
run : |
181
181
set -euxo pipefail
182
182
RUSTFLAGS="$RUSTFLAGS -C panic=abort -Zpanic-abort-tests" cargo nextest run --workspace --exclude tokio-macros --exclude tests-build --all-features --tests
183
-
183
+
184
184
test-integration-tests-per-feature :
185
185
needs : basics
186
186
name : Run integration tests for each feature
@@ -768,7 +768,15 @@ jobs:
768
768
769
769
docs :
770
770
name : docs
771
- runs-on : ubuntu-latest
771
+ runs-on : ${{ matrix.run.os }}
772
+ strategy :
773
+ matrix :
774
+ run :
775
+ - os : windows-latest
776
+ - os : ubuntu-latest
777
+ RUSTFLAGS : --cfg tokio_taskdump
778
+ RUSTDOCFLAGS : --cfg tokio_taskdump
779
+
772
780
steps :
773
781
- uses : actions/checkout@v4
774
782
- name : Install Rust ${{ env.rust_nightly }}
@@ -780,8 +788,8 @@ jobs:
780
788
run : |
781
789
cargo doc --lib --no-deps --all-features --document-private-items
782
790
env :
783
- RUSTFLAGS : --cfg docsrs --cfg tokio_unstable --cfg tokio_taskdump
784
- RUSTDOCFLAGS : --cfg docsrs --cfg tokio_unstable --cfg tokio_taskdump -Dwarnings
791
+ RUSTFLAGS : --cfg docsrs --cfg tokio_unstable ${{ matrix.run.RUSTFLAGS }}
792
+ RUSTDOCFLAGS : --cfg docsrs --cfg tokio_unstable -Dwarnings ${{ matrix.run.RUSTDOCFLAGS }}
785
793
786
794
loom-compile :
787
795
name : build loom tests
@@ -1106,11 +1114,11 @@ jobs:
1106
1114
- name : Make sure dictionary words are sorted and unique
1107
1115
run : |
1108
1116
# `sed` removes the first line (number of words) and
1109
- # the last line (new line).
1110
- #
1117
+ # the last line (new line).
1118
+ #
1111
1119
# `sort` makes sure everything in between is sorted
1112
1120
# and contains no duplicates.
1113
- #
1121
+ #
1114
1122
# Since `sort` is sensitive to locale, we set it
1115
1123
# using LC_ALL to en_US.UTF8 to be consistent in different
1116
1124
# environments.
0 commit comments