fix env variables pointing at android ndk for gomobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c654803a5f
commit
51ff6395b8
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue