From c7dd7796db1c6dc5cabb3401b2c97416c4198e6a Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 21 Feb 2024 01:05:59 -0500 Subject: [PATCH] ci: switch to dtolnay/rust-toolchain --- .github/workflows/build.yml | 12 +++++------- .github/workflows/full-test.yml | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50ad53c..c79629c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/full-test.yml b/.github/workflows/full-test.yml index 7147c66..c20dab8 100644 --- a/.github/workflows/full-test.yml +++ b/.github/workflows/full-test.yml @@ -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