Skip to content

Commit

Permalink
chore: add pre-build hooks in goreleaser configuration to install nec…
Browse files Browse the repository at this point in the history
…essary dependencies for ARM64 cross-compilation
  • Loading branch information
ryan-gang committed Dec 17, 2024
1 parent 421cf65 commit c70ed10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
before:
hooks:
- sudo apt-get update -y
- sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu

builds:
- main: ./cmd/tester/main.go
binary: tester
Expand Down

0 comments on commit c70ed10

Please sign in to comment.