Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaZezulinsky committed Oct 20, 2024
1 parent db9f3cc commit d4c3414
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ jobs:
- name: Test
run: go test -v
build-darwin:
runs-on: macos-latest
strategy:
matrix:
config:
- {os: macos-latest, arch: arm64}
- {os: macos-13, arch: amd64}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Test arm64
run: |
export GOARCH=arm64
export GOOS=darwin
go test -v
- name: Test amd64
- name: Test
run: |
export GOARCH=amd64
export GOARCH=${{ matrix.config.arch }}
export GOOS=darwin
go test -v
release:
Expand Down

0 comments on commit d4c3414

Please sign in to comment.