Skip to content

Commit

Permalink
Revert "ci: add linux arm64 build target" (#1598)
Browse files Browse the repository at this point in the history
Revert "ci: add linux arm64 build target (#1596)"

This reverts commit 6277cf1.
  • Loading branch information
gotbadger committed May 16, 2024
1 parent 6277cf1 commit 84098f0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .github/actions/linux-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update && \
) && \
\
apt-get update && \
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin git gcc-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-i686-linux-gnu g++-i686-linux-gnu && \
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin git && \
\
wget --output-document=/tmp/go.tar.gz https://go.dev/dl/go1.21.0.linux-amd64.tar.gz && \
tar --extract --gunzip --file=/tmp/go.tar.gz --directory=/usr/local && \
Expand Down
12 changes: 0 additions & 12 deletions .goreleaser/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,10 @@ builds:
goarch:
- 386
- amd64
- arm64
ldflags:
- -w
- -X "github.com/bearer/bearer/cmd/bearer/build.Version={{.Version}}"
- -X "github.com/bearer/bearer/cmd/bearer/build.CommitSHA={{.Commit}}"
overrides:
- goos: linux
goarch: 386
env:
- CC=i686-linux-gnu-gcc
- CXX=i686-linux-gnu-g++
- goos: linux
goarch: arm64
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++

checksum:
name_template: "checksums.txt"
Expand Down
1 change: 0 additions & 1 deletion contrib/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ get_binaries() {
darwin/arm64) BINARIES="bearer" ;;
linux/386) BINARIES="bearer" ;;
linux/amd64) BINARIES="bearer" ;;
linux/arm64) BINARIES="bearer" ;;
*)
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
exit 1
Expand Down

0 comments on commit 84098f0

Please sign in to comment.