Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Aug 25, 2024
1 parent a3fb4a5 commit 9f1ed9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: sudo apt-get -y install gcc-aarch64-linux-gnu
- name: Build Binary
# see https://www.arp242.net/static-go.html
run: CGO_ENABLED=1 CC=${{ matrix.cc }} GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -extldflags=-static -linkmode 'external'" -tags sqlite_omit_load_extension -o ${{ env.filename }} .
run: CGO_ENABLED=1 CC=${{ matrix.cc }} GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -extldflags=-static" -tags sqlite_omit_load_extension,netgo,osusergo -o ${{ env.filename }} .

# if the same arch as the runner, try the binary to verify it runs properly
- name: test binary
Expand Down

0 comments on commit 9f1ed9f

Please sign in to comment.