Skip to content

Commit

Permalink
Merge pull request #10 from Jille/ci-matrix
Browse files Browse the repository at this point in the history
ci: Verify all build tags compile
  • Loading branch information
bwesterb authored Jul 22, 2024
2 parents 263876b + 4e325ab commit 0e33967
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,26 @@ jobs:

- name: Test
run: go test -v ./...

- name: Build for GOAMD64=v2
run: go build -v ./...
env:
GOAMD64: v2

- name: Build for GOAMD64=v3
run: go build -v ./...
env:
GOAMD64: v3

- name: Build purego
run: go build -v -tags purego ./...

- name: Build for GOARCH=arm64
run: go build -v ./...
env:
GOARCH: arm64

- name: Build for GOARCH=386
run: go build -v ./...
env:
GOARCH: 386

0 comments on commit 0e33967

Please sign in to comment.