Run Go tests with portable blst (#237)
This commit is contained in:
parent
577d146c0a
commit
c3c150f31e
|
@ -22,11 +22,11 @@ jobs:
|
|||
- name: Test
|
||||
run: |
|
||||
cd bindings/go
|
||||
go test
|
||||
CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" go test
|
||||
- name: Benchmark
|
||||
run: |
|
||||
cd bindings/go
|
||||
go test -bench=Benchmark
|
||||
CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" go test -bench=Benchmark
|
||||
- name: Check headers
|
||||
run: |
|
||||
cmp blst/bindings/blst.h bindings/go/blst_headers/blst.h
|
||||
|
|
2
go.mod
2
go.mod
|
@ -5,10 +5,10 @@ go 1.19
|
|||
require (
|
||||
github.com/stretchr/testify v1.8.1
|
||||
github.com/supranational/blst v0.3.11-0.20230124161941-ca03e11a3ff2
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue