File tree 6 files changed +301
-81
lines changed
6 files changed +301
-81
lines changed Original file line number Diff line number Diff line change 6
6
resource_class : arm.medium
7
7
environment :
8
8
# Change to pin rust version
9
- RUST_STABLE : stable
9
+ RUST_STABLE : 1.67.1
10
10
steps :
11
11
- checkout
12
12
- run :
Original file line number Diff line number Diff line change
1
+ only_if : $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*')
2
+ auto_cancellation : $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
1
3
freebsd_instance :
2
- image : freebsd-12-4-release-amd64
4
+ image_family : freebsd-13-1
3
5
env :
4
- RUST_STABLE : stable
6
+ RUST_STABLE : 1.67.1
5
7
RUST_NIGHTLY : nightly-2022-10-25
6
8
RUSTFLAGS : -D warnings
7
9
11
13
# the system's binaries, so the environment shouldn't matter.
12
14
task :
13
15
name : FreeBSD 64-bit
14
- auto_cancellation : $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
15
16
setup_script :
16
- - pkg install -y bash curl
17
+ - pkg install -y bash
17
18
- curl https://sh.rustup.rs -sSf --output rustup.sh
18
19
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
19
20
- . $HOME/.cargo/env
@@ -26,12 +27,11 @@ task:
26
27
27
28
task :
28
29
name : FreeBSD docs
29
- auto_cancellation : $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
30
30
env :
31
31
RUSTFLAGS : --cfg docsrs --cfg tokio_unstable
32
32
RUSTDOCFLAGS : --cfg docsrs --cfg tokio_unstable -Dwarnings
33
33
setup_script :
34
- - pkg install -y bash curl
34
+ - pkg install -y bash
35
35
- curl https://sh.rustup.rs -sSf --output rustup.sh
36
36
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
37
37
- . $HOME/.cargo/env
44
44
45
45
task :
46
46
name : FreeBSD 32-bit
47
- auto_cancellation : $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
48
47
setup_script :
49
- - pkg install -y bash curl
48
+ - pkg install -y bash
50
49
- curl https://sh.rustup.rs -sSf --output rustup.sh
51
50
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
52
51
- . $HOME/.cargo/env
Original file line number Diff line number Diff line change 10
10
RUSTFLAGS : -Dwarnings
11
11
RUST_BACKTRACE : 1
12
12
# Change to specific Rust release to pin
13
- rust_stable : stable
13
+ rust_stable : 1.67.1
14
14
rust_nightly : nightly-2022-11-03
15
15
rust_clippy : 1.65.0
16
16
# When updating this, also update:
@@ -349,19 +349,6 @@ jobs:
349
349
with :
350
350
toolchain : ${{ env.rust_min }}
351
351
- uses : Swatinem/rust-cache@v2
352
- # First compile just the main tokio crate with minrust and newest version
353
- # of all dependencies, then pin once_cell and compile the rest of the
354
- # crates with the pinned once_cell version.
355
- #
356
- # This is necessary because tokio-util transitively depends on once_cell,
357
- # which is not compatible with the current minrust after the 1.15.0
358
- # release.
359
- - name : " check -p tokio --all-features"
360
- run : cargo check -p tokio --all-features
361
- env :
362
- RUSTFLAGS : " " # remove -Dwarnings
363
- - name : " pin once_cell version"
364
- run : cargo update -p once_cell --precise 1.14.0
365
352
- name : " check --workspace --all-features"
366
353
run : cargo check --workspace --all-features
367
354
env :
Original file line number Diff line number Diff line change @@ -135,9 +135,6 @@ features = [
135
135
" Win32_Security_Authorization" ,
136
136
]
137
137
138
- [target .'cfg(windows)' .dev-dependencies .ntapi ]
139
- version = " 0.3.6"
140
-
141
138
[dev-dependencies ]
142
139
tokio-test = { version = " 0.4.0" , path = " ../tokio-test" }
143
140
tokio-stream = { version = " 0.1" , path = " ../tokio-stream" }
You can’t perform that action at this time.
0 commit comments