Skip to content

Commit

Permalink
ci: debugging with a more verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Jun 30, 2024
1 parent 46e3d87 commit 1426499
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/binary-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 1426499

Please sign in to comment.