mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Fix Fuzzing (#10798)
This commit is contained in:
parent
95c140b512
commit
2cc62cdf40
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
|
||||
|
Loading…
Reference in New Issue
Block a user