ci: fix arm64 build

'make dev' is not enough, we need to move it into PATH as well.
This commit is contained in:
Daniel Nephin 2022-02-07 16:40:39 -05:00
parent 8988807195
commit eede4a14ac
1 changed files with 6 additions and 1 deletions

View File

@ -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'