.github/workflows: add a building test without optimization to check potential stack overflow

This commit is contained in:
Hajime Hoshi 2022-06-04 17:24:18 +09:00
parent 5cdd2f8bce
commit 1fa5696c91

View File

@ -80,6 +80,7 @@ jobs:
- name: go build
run: |
go build -tags=example -v ./...
go build -tags=example -gcflags=all=-N -v ./... # Compile without optimization to check potential stack overflow.
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 ./...