From 1426499849aad0f73fc820c587023ff4719e9e62 Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Sun, 30 Jun 2024 16:11:04 +0530 Subject: [PATCH] ci: debugging with a more verbose output --- .github/workflows/binary-release.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/binary-release.yaml b/.github/workflows/binary-release.yaml index 703fe0c..e5b97f2 100644 --- a/.github/workflows/binary-release.yaml +++ b/.github/workflows/binary-release.yaml @@ -26,19 +26,20 @@ jobs: with: go-version: '1.22' # Replace with your Go version - - name: Set up GCC - uses: egor-tensin/setup-gcc@v1 - with: - version: latest - platform: ${{ matrix.goarch }} + # - name: Set up GCC + # uses: egor-tensin/setup-gcc@v1 + # with: + # version: latest + # platform: ${{ matrix.goarch }} - name: Build binary - run: | - set CGO_ENABLED=1 + run: | cd shuffle_email_rules/lib/ go mod tidy mkdir -p build/${{ matrix.goos }}_${{ matrix.goarch }} - GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o build/${{ matrix.goos }}_${{ matrix.goarch }}/libshuffleemail_${{ matrix.goos }} -buildmode=c-shared + GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o build/${{ matrix.goos }}_${{ matrix.goarch }}/libshuffleemail_${{ matrix.goos }} -buildmode=c-shared -v + env: + CGO_ENABLED: 1 - name: Commit binaries run: |