fix env variables pointing at android ndk for gomobile

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-02-25 10:04:53 +01:00 committed by Jakub
parent c654803a5f
commit 51ff6395b8
4 changed files with 9 additions and 6 deletions

View File

@ -220,11 +220,7 @@ release:
gomobile-install:
go get -u golang.org/x/mobile/cmd/gomobile
ifdef NDK_GOMOBILE
gomobile init -ndk $(NDK_GOMOBILE)
else
gomobile init
endif
release-install:
go get -u github.com/c4milo/github-release

View File

@ -2,6 +2,8 @@ pipeline {
agent { label 'linux' }
options {
timestamps()
disableConcurrentBuilds()
/* Go requires a certain directory structure */
checkoutToSubdirectory('src/github.com/status-im/status-go')
/* manage how many builds we keep */
@ -19,8 +21,9 @@ pipeline {
PATH = "${env.PATH}:${env.GOPATH}/bin"
ANDROID_HOME = '/usr/lib/android-sdk'
ANDROID_SDK_ROOT = '/usr/lib/android-sdk'
ANDROID_NDK = '/usr/lib/android-ndk'
ANDROID_NDK_HOME = '/usr/lib/android-ndk'
/* gomobile requires a specific NDK version */
ANDROID_NDK = "${env.NDK_GOMOBILE}"
ANDROID_NDK_HOME = "${env.NDK_GOMOBILE}"
}
stages {

View File

@ -2,6 +2,8 @@ pipeline {
agent { label 'macos' }
options {
timestamps()
disableConcurrentBuilds()
/* Go requires a certain directory structure */
checkoutToSubdirectory('src/github.com/status-im/status-go')
/* manage how many builds we keep */

View File

@ -2,6 +2,8 @@ pipeline {
agent { label 'linux' }
options {
timestamps()
disableConcurrentBuilds()
/* Go requires a certain directory structure */
checkoutToSubdirectory('src/github.com/status-im/status-go')
/* manage how many builds we keep */