mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +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.
|
# Use blst tag to allow go and bazel builds for blst.
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
|
||||||
# fuzz and blst_disabled leverage go tag based stubs at compile time.
|
# fuzz leverage go tag based stubs at compile time.
|
||||||
# Building with these tags should be checked and enforced at pre-submit.
|
# Building and testing with these tags should be checked and enforced at pre-submit.
|
||||||
- name: Build for fuzzing
|
- name: Test for fuzzing
|
||||||
run: go build -tags=fuzz,blst_disabled ./...
|
run: go test -tags=fuzz,develop ./... -test.run=^Fuzz
|
||||||
|
|
||||||
# Tests run via Bazel for now...
|
# Tests run via Bazel for now...
|
||||||
# - name: Test
|
# - name: Test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//go:build blst_disabled || fuzz
|
//go:build blst_disabled
|
||||||
// +build blst_disabled fuzz
|
// +build blst_disabled
|
||||||
|
|
||||||
package blst
|
package blst
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@ base:
|
|||||||
language: go
|
language: go
|
||||||
build_tags:
|
build_tags:
|
||||||
- fuzz
|
- fuzz
|
||||||
- blst_disabled
|
|
||||||
|
Loading…
Reference in New Issue
Block a user