Skip to content

Commit

Permalink
Specify flags in the env section
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Aug 9, 2023
1 parent 7db5bc0 commit e267d04
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ jobs:
with:
submodules: recursive
- name: Test
run: |
cd bindings/go
CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" go test
run: go test
working-directory: bindings/go
env:
CGO_CFLAGS: "-O2 -D__BLST_PORTABLE__"
- name: Benchmark
run: |
cd bindings/go
CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" go test -bench=Benchmark
run: go test -bench=Benchmark
working-directory: bindings/go
env:
CGO_CFLAGS: "-O2 -D__BLST_PORTABLE__"
- name: Check headers
run: |
cmp blst/bindings/blst.h bindings/go/blst_headers/blst.h
Expand Down

0 comments on commit e267d04

Please sign in to comment.