From 60d1208ea1e95d4bb2f26696f8a84fd5938b9c1e Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 13 Feb 2018 15:03:40 +0100 Subject: [PATCH] travis.yml: work around Go 1.9.4 issue --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ba62b87bf5..ee0f2bb85f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,6 +150,8 @@ matrix: - export PATH=`pwd`/go/bin:$PATH - export GOROOT=`pwd`/go - export GOPATH=$HOME/go + # Workaround for https://github.com/golang/go/issues/23749 + - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc' script: # Build the Android archive and upload it to Maven Central and Azure - curl https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip -o android-ndk-r15c.zip @@ -185,6 +187,8 @@ matrix: - xctool -version - xcrun simctl list + # Workaround for https://github.com/golang/go/issues/23749 + - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc' - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds # This builder does the Azure archive purges to avoid accumulating junk