chore(ci): add CGO_ENABLED=0

This commit is contained in:
mzz2017 2023-02-16 13:05:07 +08:00
parent 9364837303
commit cdfca3102a

View File

@ -98,7 +98,11 @@ jobs:
- name: Build dae
run: |
mkdir -p ./build/
make OUTPUT=build/dae-$ASSET_NAME VERSION=${{ steps.get_version.outputs.VERSION }}
export CGO_ENABLED=0
export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
export OUTPUT=build/dae-$ASSET_NAME
export VERSION=${{ steps.get_version.outputs.VERSION }}
make
- name: Smoking test
if: matrix.goarch == 'amd64'