From 1fa5696c912d6a51d62d26d438576ebff2bc29dc Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 4 Jun 2022 17:24:18 +0900 Subject: [PATCH] .github/workflows: add a building test without optimization to check potential stack overflow --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a2ae4eed..4e2d1535e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 ./...