mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-07 20:43:57 -05:00
Fix Fuzzing (#10798)
This commit is contained in:
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@@ -89,10 +89,10 @@ jobs:
|
||||
# Use blst tag to allow go and bazel builds for blst.
|
||||
run: go build -v ./...
|
||||
|
||||
# fuzz and blst_disabled leverage go tag based stubs at compile time.
|
||||
# Building with these tags should be checked and enforced at pre-submit.
|
||||
- name: Build for fuzzing
|
||||
run: go build -tags=fuzz,blst_disabled ./...
|
||||
# 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
|
||||
|
||||
# Tests run via Bazel for now...
|
||||
# - name: Test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//go:build blst_disabled || fuzz
|
||||
// +build blst_disabled fuzz
|
||||
//go:build blst_disabled
|
||||
// +build blst_disabled
|
||||
|
||||
package blst
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@ base:
|
||||
language: go
|
||||
build_tags:
|
||||
- fuzz
|
||||
- blst_disabled
|
||||
|
||||
Reference in New Issue
Block a user