Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix macOS ci on github actions #2602

Merged
merged 1 commit into from
Jun 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/test_tokio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
- macos-latest
steps:
- 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`
- uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -64,6 +71,13 @@ jobs:

steps:
- 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
- name: ${{ matrix.crate }} - cargo test --all-features
Expand Down Expand Up @@ -114,6 +128,13 @@ jobs:
- macos-latest
steps:
- 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
name: Install cargo-hack
- uses: actions-rs/cargo@v1
Expand Down