mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-09 17:55:47 +00:00
4f0546af81
* Run clang sanitizers in CI + workflow cleanup * Update makefile * Update workflow names * Simplify more * Run go benchmarks in CI * Fix indentation nits * Initialize variable in fr_is_one * Revert "Initialize variable in fr_is_one" This reverts commit f4c2749e410c68479f83d78c9a1780efe191c7fe. * Move .PHONY outside of condition
34 lines
700 B
YAML
34 lines
700 B
YAML
name: Go
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
tests:
|
|
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: Benchmark
|
|
run: |
|
|
cd bindings/go
|
|
go test -bench=Benchmark
|
|
- 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
|