Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
add build for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlon committed Nov 3, 2021
1 parent bbbb88f commit 023e44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ FILES = $(shell find . -name '*.go')

.PHONY: build
build: dist/buildkite-signed-pipeline-linux-amd64 \
dist/buildkite-signed-pipeline-linux-arm64 \
dist/buildkite-signed-pipeline-windows-amd64.exe \
dist/buildkite-signed-pipeline-darwin-amd64

dist/buildkite-signed-pipeline-linux-amd64: $(FILES)
GOOS=linux GOARCH=amd64 go build -v -ldflags="$(FLAGS)" -o $@ ./cmd/buildkite-signed-pipeline

dist/buildkite-signed-pipeline-linux-arm64: $(FILES)
GOOS=linux GOARCH=arm64 go build -v -ldflags="$(FLAGS)" -o $@ ./cmd/buildkite-signed-pipeline

dist/buildkite-signed-pipeline-windows-amd64.exe: $(FILES)
GOOS=windows GOARCH=amd64 go build -v -ldflags="$(FLAGS)" -o $@ ./cmd/buildkite-signed-pipeline

Expand Down

0 comments on commit 023e44e

Please sign in to comment.