Swap out the deprecated actions-rs/toolchain
This commit is contained in:
parent
a5a2ffeea1
commit
888b508485
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -57,17 +57,12 @@ jobs:
|
|||
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
||||
|
||||
- name: Set up Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
# Needed for SIMD
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
# FIXME: Needed for SIMD. Diopser can be compiled without SIMD support
|
||||
# though, we'd actually need to test whether both versions
|
||||
# compile
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
# The macOS AArch64/universal build is done from an x86_64 macOS CI
|
||||
# runner, so it needs to be cross compiled
|
||||
target: ${{ matrix.cross-target }}
|
||||
# The macOS AArch64 build is done from an x86_64 macOS CI runner, so
|
||||
# it needs to be cross compiled
|
||||
targets: ${{ matrix.cross-target }}
|
||||
- name: Package all targets from bundler.toml
|
||||
# Instead of hardcoding which targets to build and package, we'll
|
||||
# package everything that's got en entry in the `bundler.toml` file
|
||||
|
|
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
|
@ -45,13 +45,9 @@ jobs:
|
|||
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
||||
|
||||
- name: Set up Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
# Nightly is needed to document the SIMD feature and for the
|
||||
# `doc_auto_cfg` feature
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Build all targets
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -50,14 +50,8 @@ jobs:
|
|||
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
||||
|
||||
- name: Set up Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
# FIXME: Needed for SIMD. Diopser can be compiled without SIMD support
|
||||
# though, we'd actually need to test whether both versions
|
||||
# compile
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
# Needed for SIMD
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Build all targets
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue