.github/workflows: add Windows ARM build tests

This commit is contained in:
Hajime Hoshi 2022-08-30 11:42:11 +09:00
parent 22c2cdc2d4
commit d20a1b07a5

View File

@ -85,8 +85,14 @@ jobs:
# See also https://go.googlesource.com/vscode-go/+/HEAD/docs/debugging.md#launch and the issue #2120.
go build -tags=example "-gcflags=all=-N -l" -v ./...
env GOOS=js GOARCH=wasm go build -tags=example -v ./...
env GOOS=windows GOARCH=amd64 go build -tags=example -v ./...
env GOOS=windows GOARCH=386 go build -tags=example -v ./...
env GOOS=windows GOARCH=amd64 go build -tags=example -v ./...
env GOOS=windows GOARCH=arm go build -tags=example -v ./...
- name: go build (Windows ARM64)
if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: |
env GOOS=windows GOARCH=arm64 go build -tags=example -v ./...
- name: go build (macOS)
if: ${{ startsWith(matrix.os, 'macos-') && !startsWith(matrix.go, '1.15.') }}