Skip to content

Commit

Permalink
ci: use latest stable compiler on macOS ci (#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored Jul 5, 2020
1 parent be02d36 commit 2aa8751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/test_tokio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
- 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 @@ -73,11 +68,6 @@ jobs:
- 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 @@ -130,11 +120,6 @@ jobs:
- 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
5 changes: 1 addition & 4 deletions ci/azure-test-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,19 @@ jobs:
matrix:
Linux:
vmImage: ubuntu-16.04
rust_version: ${{ parameters.rust }}

${{ if parameters.cross }}:
MacOS:
vmImage: macos-latest
rust_version: 1.43.1 # https://github.com/rust-lang/rust/issues/73030
Windows:
vmImage: vs2017-win2016
rust_version: ${{ parameters.rust }}
pool:
vmImage: $(vmImage)

steps:
- template: azure-install-rust.yml
parameters:
rust_version: $(rust_version)
rust_version: ${{ parameters.rust }}

- template: azure-is-release.yml

Expand Down

0 comments on commit 2aa8751

Please sign in to comment.