From 1161bf03d53c2e10adae27e8da4c6546e0d32328 Mon Sep 17 00:00:00 2001 From: Redfire Date: Mon, 5 Aug 2024 13:55:47 +0800 Subject: [PATCH] Added AArch64 Targets To CI --- .github/workflows/rust.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1ed88ac9..421a3c79 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,23 +24,36 @@ jobs: matrix: rust: [stable, beta] os: [windows, macos, linux] - arch: [x86_64] + arch: [x86_64, aarch64] include: - os: windows arch: x86_64 runner: windows-latest target: x86_64-pc-windows-msvc job: test + - os: windows + arch: aarch64 + runner: windows-latest + target: aarch64-pc-windows-msvc - os: macos arch: x86_64 runner: macos-13 target: x86_64-apple-darwin job: test + - os: macos + arch: aarch64 + runner: macos-14 + target: aarch64-apple-darwin + job: test - os: linux arch: x86_64 runner: ubuntu-latest target: x86_64-unknown-linux-gnu job: test + - os: linux + arch: aarch64 + runner: ubuntu-latest + target: aarch64-unknown-linux-gnu env: TARGET: ${{ matrix.target }} @@ -50,6 +63,7 @@ jobs: - name: Install Rust Toolchain uses: dtolnay/rust-toolchain@master with: + targets: ${{ matrix.target }} toolchain: ${{ matrix.rust }} - name: Setup Dependencies