Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/macos.yml
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
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