diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b415f04142..573961f294 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -87,11 +87,14 @@ jobs: - name: Build # Use blst tag to allow go and bazel builds for blst. run: go build -v ./... - + env: + CGO_CFLAGS: "-O -D__BLST_PORTABLE__" # fuzz leverage go tag based stubs at compile time. # Building and testing with these tags should be checked and enforced at pre-submit. - name: Test for fuzzing run: go test -tags=fuzz,develop ./... -test.run=^Fuzz + env: + CGO_CFLAGS: "-O -D__BLST_PORTABLE__" # Tests run via Bazel for now... # - name: Test