From f424f53fb63ded2cb3402aef7c4bc18d8ef801b7 Mon Sep 17 00:00:00 2001 From: Edwin Joassart Date: Wed, 6 Dec 2023 15:08:52 +0100 Subject: [PATCH] ci-test: split arm64 x64 build on native runners --- .github/actions/publish/action.yml | 5 ++++- .github/workflows/flowzone.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index d4aa3dc77fa..bf1ebcfc374 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -115,7 +115,10 @@ runs: elif [[ "${RUNNER_OS}" == macOS ]]; then PLATFORM=Darwin - BUILD_ARCHS="x64,arm64" + if [[ "${RUNNER_ARCH}" == x64]]; then + BUILD_ARCHS="x64" + else + BUILD_ARCHS="arm64" SHA256SUM_BIN='shasum -a 256' elif [[ "${RUNNER_OS}" == Windows ]]; then diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 181a233c52f..dbf45d8e56e 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -20,7 +20,7 @@ jobs: (github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target') secrets: inherit with: - tests_run_on: '["ubuntu-20.04","windows-2019", "macos-latest-xlarge"]' + tests_run_on: '["ubuntu-20.04","macos-12","windows-2019","macos-latest-xlarge"]' restrict_custom_actions: false github_prerelease: true repo_config: true