mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
chore: fix macOS ci on github actions (#2602)
This commit is contained in:
parent
4010335c84
commit
d22301967b
21
.github/workflows/test_tokio.yml
vendored
21
.github/workflows/test_tokio.yml
vendored
@ -23,6 +23,13 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update stable
|
||||||
|
if: matrix.os != 'macos-latest'
|
||||||
|
# https://github.com/rust-lang/rust/issues/73030
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update 1.43.1 && rustup default 1.43.1
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
|
|
||||||
# Run `tokio` with only `full`
|
# Run `tokio` with only `full`
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
@ -64,6 +71,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update stable
|
||||||
|
if: matrix.os != 'macos-latest'
|
||||||
|
# https://github.com/rust-lang/rust/issues/73030
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update 1.43.1 && rustup default 1.43.1
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
|
|
||||||
# Run with all crate features
|
# Run with all crate features
|
||||||
- name: ${{ matrix.crate }} - cargo test --all-features
|
- name: ${{ matrix.crate }} - cargo test --all-features
|
||||||
@ -114,6 +128,13 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update stable
|
||||||
|
if: matrix.os != 'macos-latest'
|
||||||
|
# https://github.com/rust-lang/rust/issues/73030
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update 1.43.1 && rustup default 1.43.1
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
- run: cargo install cargo-hack
|
- run: cargo install cargo-hack
|
||||||
name: Install cargo-hack
|
name: Install cargo-hack
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user