mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-04-28 06:34:35 +00:00
use android single build
This commit is contained in:
parent
3a16c986dd
commit
3b4391759a
@ -54,7 +54,7 @@ class CMake(Make):
|
|||||||
|
|
||||||
return ' '.join(options)
|
return ' '.join(options)
|
||||||
|
|
||||||
def androidXmakeCmd(self, props):
|
def androidXmakeMultiAbiCmd(self, props):
|
||||||
file = self.home + "/buildBotSecret/secret.json"
|
file = self.home + "/buildBotSecret/secret.json"
|
||||||
secret = SecretManager(file, props)
|
secret = SecretManager(file, props)
|
||||||
toochainFile = 'build/cmake/android.toolchain.cmake'
|
toochainFile = 'build/cmake/android.toolchain.cmake'
|
||||||
@ -76,6 +76,29 @@ class CMake(Make):
|
|||||||
|
|
||||||
return ' '.join(options)
|
return ' '.join(options)
|
||||||
|
|
||||||
|
def androidXmakeSinglAbiCmd(self, props):
|
||||||
|
file = self.home + "/buildBotSecret/secret.json"
|
||||||
|
secret = SecretManager(file, props)
|
||||||
|
toochainFile = 'build/cmake/android.toolchain.cmake'
|
||||||
|
|
||||||
|
options = [
|
||||||
|
'cmake -GNinja',
|
||||||
|
'-DCMAKE_PREFIX_PATH=$QTDIR',
|
||||||
|
'-DQT_QMAKE_EXECUTABLE=$QTDIR/bin/qmake',
|
||||||
|
'-DANDROID_ABI=$ANDROID_ABI',
|
||||||
|
'-DCMAKE_FIND_ROOT_PATH=$QTDIR',
|
||||||
|
'-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_ROOT/' + toochainFile,
|
||||||
|
'-DSIGN_PATH="' + secret.getValue('SIGPATH') + '"',
|
||||||
|
'-DSIGN_ALIES="quasarapp"',
|
||||||
|
'-DSIGN_STORE_PASSWORD="' + secret.getValue('SIGPASS') + '"',
|
||||||
|
'-B cmake_build'
|
||||||
|
]
|
||||||
|
|
||||||
|
return ' '.join(options)
|
||||||
|
|
||||||
|
def androidXmakeCmd(self, props):
|
||||||
|
return self.androidXmakeSinglAbiCmd(props)
|
||||||
|
|
||||||
def wasmXmakeCmd(self, props):
|
def wasmXmakeCmd(self, props):
|
||||||
options = [
|
options = [
|
||||||
'cmake -DCMAKE_PREFIX_PATH=$QTDIR',
|
'cmake -DCMAKE_PREFIX_PATH=$QTDIR',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# This Python file uses the following encoding: utf-8
|
# This Python file uses the following encoding: utf-8
|
||||||
|
|
||||||
from BuildBotLib.cmake import CMake
|
from BuildBotLib.cmake import CMake
|
||||||
from buildbot.plugins import util, steps
|
from buildbot.plugins import util
|
||||||
|
|
||||||
|
|
||||||
class Docs(CMake):
|
class Docs(CMake):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user