mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-15 03:26:25 +00:00
* Add go bindings * Use Bytes32 type * Update blst package * Add binding for compute_kzg_proof * Use bytes-only input (will fail) * Fix go bindings tests * Use better blobs for benchmarks * Move rand* funcs to helpers & add comment * Add headers check
30 lines
617 B
YAML
30 lines
617 B
YAML
name: Go bindings tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.19
|
|
id: go
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Test
|
|
run: |
|
|
cd bindings/go
|
|
go test .
|
|
- name: Check headers
|
|
run: |
|
|
cmp blst/bindings/blst.h bindings/go/blst_headers/blst.h
|
|
cmp blst/bindings/blst_aux.h bindings/go/blst_headers/blst_aux.h
|