Skip to content

Commit

Permalink
Merge pull request #303 from ibihim/fix-macos-m1-for-tests
Browse files Browse the repository at this point in the history
Makefile: fix arm64 on MacOS
  • Loading branch information
ibihim authored Aug 30, 2024
2 parents bdee562 + 4ce801a commit 7946418
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ run-curl-container:
grpcc-container:
docker build -f ./examples/grpcc/Dockerfile -t mumoshu/grpcc:v0.0.1 .

test-container: $(OUT_DIR)/$(PROGRAM_NAME)-linux-$(GOARCH) Dockerfile
docker build --build-arg BINARY=$(PROGRAM_NAME)-linux-$(GOARCH) --build-arg BASEIMAGE=$(BASEIMAGE) -t $(CONTAINER_NAME) .

test: test-unit test-e2e

test-unit:
Expand All @@ -98,7 +101,7 @@ test-e2e:

test-local-setup: VERSION = local
test-local-setup: VERSION_SEMVER = $(shell cat VERSION)
test-local-setup: clean container kind-create-cluster
test-local-setup: clean test-container kind-create-cluster
test-local: test-local-setup test

kind-delete-cluster:
Expand Down

0 comments on commit 7946418

Please sign in to comment.