test with macOS ARM64 (#6635)

* test with macOS ARM64

* assign platform variable
This commit is contained in:
tersec 2024-10-11 09:08:46 +00:00 committed by GitHub
parent 181f5f984d
commit b4efaaa573
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ jobs:
cpu: amd64
- os: macos
cpu: amd64
- os: macos
cpu: arm64
- os: windows
cpu: amd64
branch: [~, upstream/version-2-0]
@ -117,6 +119,8 @@ jobs:
run: |
if [[ '${{ matrix.target.cpu }}' == 'amd64' ]]; then
PLATFORM=x64
elif [[ '${{ matrix.target.cpu }}' == 'arm64' ]]; then
PLATFORM=arm64
else
PLATFORM=x86
fi