From 49c9f28030a501fcd192b5c1fd8ea5a8c680f111 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Tue, 20 Feb 2024 15:25:36 -0800 Subject: [PATCH] test --- .github/workflows/build-release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 0851a12a0..51b1e0b32 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -32,6 +32,7 @@ jobs: elif [ "${{ matrix.goarch }}" = "amd64" ]; then echo "CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV fi + echo "GOGCCFLAGS=" >> $GITHUB_ENV - uses: wangyoucao577/go-release-action@v1.40 env: MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }} @@ -42,8 +43,9 @@ jobs: COMMIT: ${{ github.sha }} CGO_ENABLED: 1 CGO_FLAGS: "-O2 -D__BLST_PORTABLE__" + CGO_CFLAGS: "-O2 -D__BLST_PORTABLE__" with: - pre_command: apt-get update && apt-get -y install gcc-aarch64-linux-gnu && make generate + pre_command: apt-get update && apt-get -y install gcc-aarch64-linux-gnu && make generate && export CGO_ENABLED=1 && export CGO_FLAGS="-O2 -D__BLST_PORTABLE__" && export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" && export GOGCCFLAGS="" github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }}