Skip to content

Commit 841dbc7

Browse files
committed
fix ci.actions.yml
1 parent 1ee1f69 commit 841dbc7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.actions.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ jobs:
1414
platform:
1515
- os: ubuntu-latest
1616
name: linux
17+
arch: x86-64
18+
# gha finally added arm runners:
19+
# https://github.com/actions/runner-images
1720
- os: macos-latest
1821
name: darwin
22+
arch: aarch64
1923
steps:
2024
- uses: actions/checkout@v4
2125
with:
@@ -32,7 +36,7 @@ jobs:
3236
- run: test ${{ steps.build.outputs.project }} = stark.com/foo
3337
- run: test ${{ steps.build.outputs.version }} = 2.3.4
3438
- run: test ${{ steps.build.outputs.platform }} = ${{ matrix.platform.name }}
35-
- run: test ${{ steps.build.outputs.arch }} = x86-64
39+
- run: test ${{ steps.build.outputs.arch }} = ${{ matrix.platform.arch }}
3640
- run: test -d ${{ steps.build.outputs.prefix }}
3741
- run: test $BREWKIT_PKGSPEC = ${{ steps.build.outputs.pkgspec }}
3842
- run: test $BREWKIT_PREFIX = ${{ steps.build.outputs.prefix }}
@@ -44,7 +48,7 @@ jobs:
4448
strategy:
4549
matrix:
4650
platform-key:
47-
- darwin+x86-64
51+
- darwin+aarch64
4852
- null
4953
runs-on: ubuntu-latest
5054
env:
@@ -91,7 +95,7 @@ jobs:
9195
matrix:
9296
compression: [xz, gz]
9397
platform:
94-
- darwin+x86-64
98+
- darwin+aarch64
9599
- linux+x86-64
96100
env:
97101
PKGX_PANTRY_PATH: ${{github.workspace}}/co

0 commit comments

Comments
 (0)