diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e2d1535e..7dfb38d33 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,10 @@ 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. + # Compile without optimization to check potential stack overflow. + # The option '-gcflags=all=-N -l' is often used at Visual Studio Code. + # 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 ./...