Skip to content

Commit

Permalink
ci: Fix build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bahattincinic committed May 30, 2024
1 parent d05906c commit 11b28df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
GOARCH: amd64
CC: ${{ matrix.goos == 'linux' && 'gcc' || matrix.goos == 'darwin' && 'clang' || 'x86_64-w64-mingw32-gcc' }}
CXX: ${{ matrix.goos == 'linux' && 'g++' || matrix.goos == 'darwin' && 'clang++' || 'x86_64-w64-mingw32-g++' }}
CGO_CFLAGS: ${{ matrix.goos == 'darwin' && '-arch x86_64' || '' }}
CGO_LDFLAGS: ${{ matrix.goos == 'darwin' && '-arch x86_64' || '' }}
run: |
echo "Building for $GOOS..."
go build -tags=prod -o fitwave ./cmd/fitwave
Expand Down

0 comments on commit 11b28df

Please sign in to comment.