add arm64 for macOS

This commit is contained in:
Diego 2024-10-10 14:36:59 +02:00
parent 6c970911f2
commit b525cd381d
No known key found for this signature in database
GPG Key ID: C9DAC9BF68D1F806
2 changed files with 8 additions and 0 deletions

View File

@ -88,6 +88,8 @@ runs:
run: |
if [[ '${{ inputs.cpu }}' == 'amd64' ]]; then
PLATFORM=x64
elif [[ '${{ inputs.cpu }}' == 'arm64' ]]; then
PLATFORM=arm64
else
PLATFORM=x86
fi

View File

@ -27,6 +27,8 @@ jobs:
cpu: amd64
- os: macos
cpu: amd64
- os: macos-arm64
cpu: arm64
- 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