ci: fix arm64 build

'make dev' is not enough, we need to move it into PATH as well.
pull/12283/head
Daniel Nephin 3 years ago
parent 8988807195
commit eede4a14ac

@ -270,7 +270,12 @@ jobs:
- run: go mod download - run: go mod download
- run: - run:
name: make dev name: make dev
command: if [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then make dev; fi command: |
if [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then
make dev
mkdir -p /home/circleci/bin
cp ./bin/consul /home/circleci/bin/consul
fi
- run-go-test-full: - run-go-test-full:
go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi' go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi'

Loading…
Cancel
Save