Merge pull request #12283 from hashicorp/dnephin/fix-go-test-arm64

ci: fix arm64 build
This commit is contained in:
Daniel Nephin 2022-02-07 17:24:35 -05:00 committed by GitHub
commit a4985f2068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -270,7 +270,12 @@ jobs:
- run: go mod download
- run:
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:
go_test_flags: 'if ! [[ "$CIRCLE_BRANCH" =~ ^main$|^release/ ]]; then export GO_TEST_FLAGS="-short"; fi'