Skip to content

Commit

Permalink
ci: build linux/arm64 with aarch64-linux-gnu-gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed May 10, 2024
1 parent 83884e6 commit 3637fb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ jobs:
- name: Setup
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu
go generate ./...
if [ ${{ matrix.go-arch }} == "arm64" ]; then
sudo apt install -y gcc-aarch64-linux-gnu
echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
fi
- name: Build ${{ matrix.go-arch }}
env:
CGO_ENABLED: 1
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish_testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ jobs:
- name: Setup
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu
go generate ./...
if [ ${{ matrix.go-arch }} == "arm64" ]; then
sudo apt install -y gcc-aarch64-linux-gnu
echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
fi
- name: Build ${{ matrix.go-arch }}
env:
CGO_ENABLED: 1
Expand Down

0 comments on commit 3637fb3

Please sign in to comment.