feat: try to build apple silicon binaries

added arm64 macos runner
pull/3162/head
yougotwill 8 months ago
parent 16c7975719
commit 26f037e41a

@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-12, ubuntu-20.04]
os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge]
env:
SIGNAL_ENV: production
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -75,5 +75,5 @@ jobs:
- name: Upload Production Artifacts
uses: actions/upload-artifact@v1
with:
name: ${{ runner.OS }}-production
name: ${{ runner.os }}-${{ runner.arch }}-production
path: release

@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-12, ubuntu-20.04]
os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge]
env:
SIGNAL_ENV: production
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022, macos-12, ubuntu-20.04]
os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge]
env:
SIGNAL_ENV: production
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -19,7 +19,7 @@ runs:
if: runner.os != 'Windows'
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}
# Not having this will break the windows build because the PATH won't be set by msbuild.
- name: Add msbuild to PATH

Loading…
Cancel
Save