mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-04-27 14:24:32 +00:00
added new platform android qt6
This commit is contained in:
parent
6432e3d218
commit
3af188d914
@ -11,7 +11,8 @@ class BaseModule:
|
|||||||
|
|
||||||
P_Windows = 'Windows'
|
P_Windows = 'Windows'
|
||||||
P_Linux = 'Linux'
|
P_Linux = 'Linux'
|
||||||
P_Android = 'Android'
|
P_AndroidQt5 = 'AndroidQt5'
|
||||||
|
P_AndroidQt6 = 'AndroidQt6'
|
||||||
P_Wasm = 'Wasm'
|
P_Wasm = 'Wasm'
|
||||||
|
|
||||||
def __init__(self, platform, pwd="."):
|
def __init__(self, platform, pwd="."):
|
||||||
@ -31,7 +32,7 @@ class BaseModule:
|
|||||||
return self.platform == BaseModule.P_Linux
|
return self.platform == BaseModule.P_Linux
|
||||||
|
|
||||||
def isAndroid(self, step):
|
def isAndroid(self, step):
|
||||||
return self.platform == BaseModule.P_Android
|
return self.platform == BaseModule.P_AndroidQt5 or self.platform == BaseModule.P_AndroidQt6
|
||||||
|
|
||||||
def isWasm(self, step):
|
def isWasm(self, step):
|
||||||
return self.platform == BaseModule.P_Wasm
|
return self.platform == BaseModule.P_Wasm
|
||||||
|
@ -14,7 +14,8 @@ class Docs(CMake):
|
|||||||
platformXcmd = {
|
platformXcmd = {
|
||||||
CMake.P_Linux: self.linuxXmakeCmd,
|
CMake.P_Linux: self.linuxXmakeCmd,
|
||||||
CMake.P_Windows: self.windowsXmakeCmd,
|
CMake.P_Windows: self.windowsXmakeCmd,
|
||||||
CMake.P_Android: self.androidXmakeCmd,
|
CMake.P_AndroidQt5: self.androidXmakeCmd,
|
||||||
|
CMake.P_AndroidQt6: self.androidXmakeCmd,
|
||||||
CMake.P_Wasm: self.wasmXmakeCmd,
|
CMake.P_Wasm: self.wasmXmakeCmd,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,7 +160,8 @@ class Make(BaseModule):
|
|||||||
platformEnv = {
|
platformEnv = {
|
||||||
BaseModule.P_Linux: self.linuxXmakeEnv,
|
BaseModule.P_Linux: self.linuxXmakeEnv,
|
||||||
BaseModule.P_Windows: self.windowsXmakeEnv,
|
BaseModule.P_Windows: self.windowsXmakeEnv,
|
||||||
BaseModule.P_Android: self.androidXmakeEnv,
|
BaseModule.P_AndroidQt5: self.androidXmakeCmd,
|
||||||
|
BaseModule.P_AndroidQt6: self.androidXmakeCmd,
|
||||||
BaseModule.P_Wasm: self.wasmXmakeEnv,
|
BaseModule.P_Wasm: self.wasmXmakeEnv,
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -205,7 +206,8 @@ class Make(BaseModule):
|
|||||||
platformXcmd = {
|
platformXcmd = {
|
||||||
BaseModule.P_Linux: self.linuxXmakeCmd,
|
BaseModule.P_Linux: self.linuxXmakeCmd,
|
||||||
BaseModule.P_Windows: self.windowsXmakeCmd,
|
BaseModule.P_Windows: self.windowsXmakeCmd,
|
||||||
BaseModule.P_Android: self.androidXmakeCmd,
|
BaseModule.P_AndroidQt5: self.androidXmakeCmd,
|
||||||
|
BaseModule.P_AndroidQt6: self.androidXmakeCmd,
|
||||||
BaseModule.P_Wasm: self.wasmXmakeCmd,
|
BaseModule.P_Wasm: self.wasmXmakeCmd,
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -238,7 +240,7 @@ class Make(BaseModule):
|
|||||||
'release project',
|
'release project',
|
||||||
self.isRelease)]
|
self.isRelease)]
|
||||||
|
|
||||||
if platform != BaseModule.P_Android:
|
if not self.isAndroid(''):
|
||||||
|
|
||||||
res += [steps.DirectoryUpload(
|
res += [steps.DirectoryUpload(
|
||||||
workersrc=util.Interpolate('%(prop:repoFolder)s'),
|
workersrc=util.Interpolate('%(prop:repoFolder)s'),
|
||||||
|
@ -22,11 +22,12 @@ bot = BuildBot()
|
|||||||
|
|
||||||
qmakeLinux = QMake(BaseModule.P_Linux)
|
qmakeLinux = QMake(BaseModule.P_Linux)
|
||||||
qmakeWindows = QMake(BaseModule.P_Windows)
|
qmakeWindows = QMake(BaseModule.P_Windows)
|
||||||
qmakeAndroid = QMake(BaseModule.P_Android)
|
qmakeAndroid = QMake(BaseModule.P_AndroidQt5)
|
||||||
|
|
||||||
cmakeLinux = CMake(BaseModule.P_Linux)
|
cmakeLinux = CMake(BaseModule.P_Linux)
|
||||||
cmakeWindows = CMake(BaseModule.P_Windows)
|
cmakeWindows = CMake(BaseModule.P_Windows)
|
||||||
cmakeAndroid = CMake(BaseModule.P_Android)
|
cmakeAndroidqt5 = CMake(BaseModule.P_AndroidQt5)
|
||||||
|
cmakeAndroidqt6 = CMake(BaseModule.P_AndroidQt6)
|
||||||
|
|
||||||
wasm = CMake(BaseModule.P_Wasm)
|
wasm = CMake(BaseModule.P_Wasm)
|
||||||
docs = Docs(BaseModule.P_Linux)
|
docs = Docs(BaseModule.P_Linux)
|
||||||
@ -39,8 +40,8 @@ bot.addBuilder("WindowsBuilder", qmakeWindows)
|
|||||||
bot.addBuilder("LinuxCMakeBuilder", cmakeLinux)
|
bot.addBuilder("LinuxCMakeBuilder", cmakeLinux)
|
||||||
bot.addBuilder("WindowsCMakeBuilder", cmakeWindows)
|
bot.addBuilder("WindowsCMakeBuilder", cmakeWindows)
|
||||||
|
|
||||||
bot.addBuilder("AndroidBuilder_qt5", cmakeAndroid)
|
bot.addBuilder("AndroidBuilder_qt5", cmakeAndroidqt5)
|
||||||
bot.addBuilder("AndroidBuilder_qt6", cmakeAndroid)
|
bot.addBuilder("AndroidBuilder_qt6", cmakeAndroidqt6)
|
||||||
|
|
||||||
bot.addBuilder("RepoGen", repoGen)
|
bot.addBuilder("RepoGen", repoGen)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user