Skip to content

Commit e677a62

Browse files
shinra-electricJarod42
authored andcommitted
CI: Add x86 to the macOS CI
1 parent 719b4cd commit e677a62

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/macos.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,16 @@ on:
2323
- '!doc/**'
2424

2525
jobs:
26-
macOS-arm64:
27-
runs-on: macos-latest
26+
macOS:
27+
strategy:
28+
matrix:
29+
include:
30+
- runner: macos-latest
31+
suffix: arm64
32+
- runner: macos-13
33+
suffix: x86
34+
35+
runs-on: ${{ matrix.runner}}
2836

2937
steps:
3038
- name: Checkout Stargus
@@ -78,11 +86,11 @@ jobs:
7886
codesign --force --deep --sign - stargus/mac/Stargus.app
7987
8088
- name: Create .dmg
81-
run: hdiutil create -volname "Stargus" -srcfolder "stargus/mac/Stargus.app" "Stargus-arm64"
89+
run: hdiutil create -volname "Stargus" -srcfolder "stargus/mac/Stargus.app" "Stargus-${{ matrix.suffix }}"
8290

8391
- name: Upload artifact
8492
uses: actions/upload-artifact@v4
8593
with:
86-
name: Stargus-macOS-arm64
87-
path: Stargus-arm64.dmg
94+
name: Stargus-macOS-${{ matrix.suffix }}
95+
path: Stargus-${{ matrix.suffix }}.dmg
8896
if-no-files-found: error

0 commit comments

Comments
 (0)