From 042a7af5339aecea00c10d1012ce613fea757929 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 12 Jun 2024 20:50:39 +1000 Subject: [PATCH] Run e2e-tests and unit-tests on aarch64-apple-darwin Since the CI now uses M1 instead of x86_64, built a native executable instead of relying on rosetta Signed-off-by: Jiahao XU --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release-packages.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2736340c..2a2896d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: fail-fast: false matrix: include: - - target: x86_64-apple-darwin + - target: aarch64-apple-darwin os: macos-14 - target: x86_64-unknown-linux-gnu os: ubuntu-latest @@ -117,7 +117,7 @@ jobs: fail-fast: false matrix: include: - - target: x86_64-apple-darwin + - target: aarch64-apple-darwin os: macos-14 - target: x86_64-unknown-linux-gnu os: ubuntu-latest @@ -157,7 +157,7 @@ jobs: os: ubuntu-latest - target: x86_64-unknown-linux-musl os: ubuntu-latest - - target: aarch64-apple-darwin + - target: x86_64-apple-darwin os: macos-14 - target: aarch64-pc-windows-msvc os: windows-latest diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 5054d5ab..07b5014e 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -27,9 +27,9 @@ jobs: fail-fast: false matrix: include: - - { o: macos-14, t: x86_64-apple-darwin, r: true } + - { o: macos-14, t: x86_64-apple-darwin } - { o: macos-14, t: x86_64h-apple-darwin } - - { o: macos-14, t: aarch64-apple-darwin } + - { o: macos-14, t: aarch64-apple-darwin, r: true } - { o: ubuntu-latest, t: x86_64-unknown-linux-gnu,