ci: switch to dtolnay/rust-toolchain
This commit is contained in:
parent
9741ab2cd1
commit
c7dd7796db
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -32,10 +32,9 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install nightly Rust
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: Build dynamic library
|
||||
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
|
||||
- name: Upload build artifacts
|
||||
|
@ -54,11 +53,10 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install nightly Rust
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
target: aarch64-unknown-linux-gnu
|
||||
targets: aarch64-unknown-linux-gnu
|
||||
- name: Install ARM64 cross-compilation dependencies
|
||||
continue-on-error: true
|
||||
run: |
|
||||
|
@ -86,11 +84,11 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install nightly Rust
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: nightly-2024-01-15 # pinned because it seems like there's a segfault on nightly
|
||||
override: true
|
||||
target: aarch64-pc-windows-msvc
|
||||
targets: aarch64-pc-windows-msvc
|
||||
- name: Build dynamic library
|
||||
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }} --target aarch64-pc-windows-msvc
|
||||
- name: Upload build artifacts
|
||||
|
|
2
.github/workflows/full-test.yml
vendored
2
.github/workflows/full-test.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
- name: Install nightly Rust
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
|
|
Loading…
Reference in a new issue