Skip to content

Commit

Permalink
move cgo flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Mar 7, 2024
1 parent a18dff4 commit 44493dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ jobs:
echo 'VERSION=${{ github.ref_name }}' >> .release-env
echo 'COMMIT=${{ github.sha }}' >> .release-env
echo 'GITHUB_TOKEN=${{ secrets.FLOW_CLI_RELEASE }}' >> .release-env
echo 'CGO_CFLAGS="-O2 -D__BLST_PORTABLE__"' >> .release-env
- name: Build and Release
run: make release
3 changes: 0 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ builds:
- 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}'
flags:
- -mod=readonly
gcflags:
- -O2
- -D__BLST_PORTABLE__
ldflags:
- -X github.com/onflow/flow-cli/build.commit={{ .Env.COMMIT }} -X github.com/onflow/flow-cli/build.semver={{ .Env.VERSION }} -X github.com/onflow/flow-cli/internal/command.mixpanelToken={{ .Env.MIXPANEL_PROJECT_TOKEN }} -X github.com/onflow/flow-cli/internal/accounts.accountToken={{ .Env.LILICO_TOKEN }}

Expand Down

0 comments on commit 44493dd

Please sign in to comment.