Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

feat: add MacOS ARM #3390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.macos }}

strategy:
fail-fast: false
Expand All @@ -18,6 +18,9 @@ jobs:
- 18
- 19
- 20
macos:
- macos-12
- macos-14

steps:
- uses: actions/checkout@v3
Expand All @@ -36,7 +39,13 @@ jobs:
run: npm test

- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request'
if: github.repository_owner == 'sass' && github.event_name != 'pull_request' && matrix.macos == 'macos-12'
with:
name: ${{ matrix.node }}
name: ${{ matrix.node }}-x64
path: vendor/

- uses: actions/upload-artifact@v3
if: github.repository_owner == 'sass' && github.event_name != 'pull_request' && matrix.macos == 'macos-14'
with:
name: ${{ matrix.node }}-arm64
path: vendor/
1 change: 1 addition & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function getHumanArchitecture(arch) {
case 'ia32': return '32-bit';
case 'x86': return '32-bit';
case 'x64': return '64-bit';
case 'arm64': return 'ARM';
default: return false;
}
}
Expand Down
Loading