Skip to content

Commit d4c3414

Browse files
test
1 parent db9f3cc commit d4c3414

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ jobs:
3434
- name: Test
3535
run: go test -v
3636
build-darwin:
37-
runs-on: macos-latest
37+
strategy:
38+
matrix:
39+
config:
40+
- {os: macos-latest, arch: arm64}
41+
- {os: macos-13, arch: amd64}
42+
runs-on: ${{ matrix.config.os }}
3843
steps:
3944
- name: Checkout
4045
uses: actions/checkout@v4
4146
- name: Setup
4247
uses: actions/setup-go@v4
4348
with:
4449
go-version: 1.21
45-
- name: Test arm64
46-
run: |
47-
export GOARCH=arm64
48-
export GOOS=darwin
49-
go test -v
50-
- name: Test amd64
50+
- name: Test
5151
run: |
52-
export GOARCH=amd64
52+
export GOARCH=${{ matrix.config.arch }}
5353
export GOOS=darwin
5454
go test -v
5555
release:

0 commit comments

Comments
 (0)