fix: make BLST PORTABLE for release binary (#1575)

This commit is contained in:
NathanBSC 2023-05-05 16:48:43 +08:00 committed by GitHub
parent 5b75f597b4
commit 9a202e0279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

@ -6,6 +6,10 @@ on:
tags:
- 'pre-*'
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
jobs:
build:
name: Build Release

@ -5,6 +5,9 @@ on:
# Publish `v1.2.3` tags as releases.
tags:
- v*
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
jobs:
build: