From 035ffa9ec2f3b0f4ba3448701e6fac7c4524e304 Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Tue, 10 Mar 2020 16:04:00 -0400 Subject: [PATCH] arm64 build should be arm32 build (#58) Convert arm64 build to arm32 build --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f8f4a603a..c2496ea9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,10 +35,16 @@ jobs: env: GOX_OS=linux script: - set -e + - sudo dpkg --add-architecture armhf + - sudo apt-get update -yq + - |- + sudo apt-get -yq install \ + crossbuild-essential-armhf \ + libc6:armhf - pip install --upgrade --user pip - pip install --user awscli - go get github.com/mitchellh/gox - - CGO_ENABLED=true gox -os="$GOX_OS" -arch=$TRAVIS_CPU_ARCH -output=$GOX_OUTPUT ./... + - CC=arm-linux-gnueabihf-gcc CGO_ENABLED=true gox -cgo -os="$GOX_OS" -arch=arm -output=$GOX_OUTPUT ./... - aws s3 sync release/ s3://ziti-cmd-build-tmp/$TRAVIS_BUILD_ID - stage: "Build and Test" @@ -79,4 +85,4 @@ jobs: - aws s3 sync s3://ziti-cmd-build-tmp/$TRAVIS_BUILD_ID release/ - aws s3 rm --recursive s3://ziti-cmd-build-tmp/$TRAVIS_BUILD_ID - ziti-ci publish-to-artifactory - - ziti-ci trigger-jenkins-smoke-build \ No newline at end of file + - ziti-ci trigger-jenkins-smoke-build