feat: use separate matrix strategies for each architecture

revert build target in package.json so we only build one architecture depending on the runner
pull/3281/head
yougotwill 3 months ago
parent b3ad0979f2
commit e0e199375a

@ -120,8 +120,8 @@ jobs:
build_macos:
strategy:
matrix:
os: [macos-14]
arch: ['arm64', 'x64']
os: [macos-14, macos-13]
arch: [arm64, x64]
runs-on: ${{ matrix.os }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -139,7 +139,7 @@ jobs:
- name: Setup & Build
uses: ./actions/setup_and_build
with:
cache_suffix: 'macos'
cache_suffix: ${{ matrix.os }}-${{ matrix.arch }}
# we want to test on all platforms since some are testing the rendered menus (and are dependent on the platform)
- name: Unit Test

@ -227,30 +227,8 @@
"category": "public.app-category.social-networking",
"icon": "build/icon-mac.icns",
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
},
{
"target": "zip",
"arch": [
"arm64"
]
},
{
"target": "dmg",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
"dmg",
"zip"
],
"bundleVersion": "1",
"hardenedRuntime": true,

Loading…
Cancel
Save