From 3119e22535a44b647082d2aefb2b47abbbbb686d Mon Sep 17 00:00:00 2001 From: Diego Date: Thu, 10 Oct 2024 14:36:59 +0200 Subject: [PATCH] add arm64 for macOS --- .github/actions/install_nim/action.yml | 2 ++ .github/workflows/ci.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/actions/install_nim/action.yml b/.github/actions/install_nim/action.yml index 83de4f313a..403f5aa27c 100644 --- a/.github/actions/install_nim/action.yml +++ b/.github/actions/install_nim/action.yml @@ -88,6 +88,8 @@ runs: run: | if [[ '${{ inputs.cpu }}' == 'amd64' ]]; then PLATFORM=x64 + elif [[ '${{ inputs.cpu }}' == 'arm64' ]]; then + PLATFORM=arm64 else PLATFORM=x86 fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3187c55027..7fa4cc46a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: cpu: amd64 - os: macos cpu: amd64 + - os: macos-arm64 + cpu: arn64 - os: windows cpu: amd64 nim: @@ -47,6 +49,10 @@ jobs: os: macos builder: macos-13 shell: bash + - platform: + os: macos-arm64 + builder: macos-14 + shell: bash - platform: os: windows builder: windows-2022