mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-02 20:05:09 +00:00
fix PATH for the compile step so we can use qmak
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
922caf168b
commit
65826b178f
@ -51,14 +51,14 @@ pipeline {
|
|||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
stage('Compile') {
|
stage('Compile') {
|
||||||
steps { nvm(env.NODE_VERSION) {
|
steps {
|
||||||
script { desktop.compile() }
|
script { desktop.compile() }
|
||||||
} }
|
}
|
||||||
}
|
}
|
||||||
stage('Bundle') {
|
stage('Bundle') {
|
||||||
steps {
|
steps { nvm(env.NODE_VERSION) {
|
||||||
script { dmg = desktop.bundleMacOS(cmn.getBuildType()) }
|
script { dmg = desktop.bundleMacOS(cmn.getBuildType()) }
|
||||||
}
|
} }
|
||||||
}
|
}
|
||||||
stage('Archive') {
|
stage('Archive') {
|
||||||
steps { archiveArtifacts dmg }
|
steps { archiveArtifacts dmg }
|
||||||
|
@ -57,6 +57,10 @@ def prepDeps() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def compile() {
|
def compile() {
|
||||||
|
/* since QT is in a custom path we need to add it to PATH */
|
||||||
|
if (env.QT_PATH) {
|
||||||
|
env.PATH = "${env.QT_PATH}:${env.PATH}"
|
||||||
|
}
|
||||||
sh './scripts/build-desktop.sh compile'
|
sh './scripts/build-desktop.sh compile'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ ExternalProject_Add(StatusGo_ep
|
|||||||
SOURCE_DIR ${StatusGo_SOURCE_DIR}
|
SOURCE_DIR ${StatusGo_SOURCE_DIR}
|
||||||
GIT_REPOSITORY https://github.com/status-im/status-go.git
|
GIT_REPOSITORY https://github.com/status-im/status-go.git
|
||||||
GIT_TAG ${STATUS_GO_TAG}
|
GIT_TAG ${STATUS_GO_TAG}
|
||||||
|
GIT_SHALLOW true
|
||||||
URL https://status-go.ams3.digitaloceanspaces.com/status-go-desktop-${STATUS_GO_VERSION}.zip
|
URL https://status-go.ams3.digitaloceanspaces.com/status-go-desktop-${STATUS_GO_VERSION}.zip
|
||||||
https://github.com/status-im/status-go/archive/${STATUS_GO_VERSION}.zip
|
https://github.com/status-im/status-go/archive/${STATUS_GO_VERSION}.zip
|
||||||
BUILD_BYPRODUCTS ${StatusGo_STATIC_LIB}
|
BUILD_BYPRODUCTS ${StatusGo_STATIC_LIB}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user