From 3f6b16a858bddf2c34e976d47bfcb4c344234edc Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Tue, 18 Jul 2023 15:38:01 -0400 Subject: [PATCH] enable CGO --- .github/workflows/build-ios.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 819c4aee..2042343a 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-go@v3 with: go-version: "1.19.x" + env: + CGO_ENABLED: 1 - name: Go information run: | go version @@ -28,7 +30,7 @@ jobs: run: go test -v -shuffle=on ./mobile - name: Build the artifact - run: make fula-xcframework + run: CGO_ENABLED=1 make fula-xcframework - name: Upload release asset if: github.event_name == 'release'