From 8a335bf8b4f44d06086ea0815c381d6943a6769d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 8 Jun 2024 20:28:40 -0300 Subject: [PATCH] ci: macos: move to aarch64-apple-darwin Signed-off-by: Otavio Salvador --- .github/workflows/macos.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 37599be..6e1a7e6 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,4 +1,4 @@ -name: CI - macOS - x86_64 +name: CI - macOS - aarch64 on: push: @@ -18,7 +18,7 @@ jobs: - stable - nightly - name: Test ${{ matrix.version }} - x86_64-apple-darwin + name: Test ${{ matrix.version }} - aarch64-apple-darwin runs-on: macOS-latest steps: @@ -32,7 +32,7 @@ jobs: - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.version }}-x86_64-apple-darwin + toolchain: ${{ matrix.version }}-aarch64-apple-darwin profile: minimal override: true @@ -44,17 +44,17 @@ jobs: uses: actions/cache@v4 with: path: ~/.cargo/registry - key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.version }}-aarch64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index uses: actions/cache@v4 with: path: ~/.cargo/git - key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.version }}-aarch64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build uses: actions/cache@v4 with: path: target - key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.version }}-aarch64-apple-darwin-cargo-build-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Check build uses: actions-rs/cargo@v1