From d20a1b07a5feef43e3f7a8eb1bf062cdce18b61a Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 30 Aug 2022 11:42:11 +0900 Subject: [PATCH] .github/workflows: add Windows ARM build tests --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5712c44e9..9ac33f65e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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.') }}