Skip to content

Commit

Permalink
ci-test: split arm64 x64 build on native runners
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed Dec 6, 2023
1 parent f990e13 commit 41d70ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,14 @@ runs:
BUILD_ARCHS="x64"
SHA256SUM_BIN=sha256sum
elif [[ "${RUNNER_OS}" == macOS ]]; then
elif [[ "${RUNNER_OS}" == macOS && && runner.arch == 'x64' ]]; then
PLATFORM=Darwin
BUILD_ARCHS="x64,arm64"
BUILD_ARCHS="x64"
SHA256SUM_BIN='shasum -a 256'
elif [[ "${RUNNER_OS}" == macOS && && runner.arch == 'arm64' ]]; then
PLATFORM=Darwin
BUILD_ARCHS="arm64"
SHA256SUM_BIN='shasum -a 256'
elif [[ "${RUNNER_OS}" == Windows ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41d70ca

Please sign in to comment.