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