Skip to content

Commit 3ca40f7

Browse files
author
Juan Jose Medina
authored
Merge pull request #6 from bitnami/arm
Build arm binary
2 parents 96d3a36 + 0205c12 commit 3ca40f7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
- run: make lint
1414
- run: make cover
1515
- run: make build
16+
- run: make build/arm64
1617
- store_artifacts:
1718
path: /go/src/github.com/bitnami/ini-file/out/ini-file
1819
destination: ini-file
20+
- store_artifacts:
21+
path: /go/src/github.com/bitnami/ini-file/out/arm64/ini-file
22+
destination: ini-file-arm64

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ all:
1818
build:
1919
@go build -ldflags="-s -w" -o $(TOOL_PATH)
2020

21+
build/arm64:
22+
@GOARCH=arm64 go build -ldflags="-s -w" -o $(BUILD_DIR)/arm64/$(TOOL_NAME)
23+
2124
clean:
2225
@rm -rf $(BUILD_DIR)
2326

0 commit comments

Comments
 (0)