forked from qt-creator/qt-creator
COIN: Build sdktool
Adds a step to build sdktool against Qt 5.15.2, which we require to succeed for packages. Change-Id: I251ea928372e5c607e24c7b2b7d1e3dd23f2d26d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -27,6 +27,11 @@ instructions:
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to run build.py, check logs."
|
||||
- type: ExecuteCommand
|
||||
command: "python3 -u {{.AgentWorkingDir}}/build/qtsdk/packaging-tools/bld_sdktool.py --qt-url {{.Env.QTC_SDKTOOL_QT_BASE_URL}}{{.Env.QTC_SDKTOOL_QT_EXT}} --qt-build {{.AgentWorkingDir}}/build/sdktool/qt --src {{.AgentWorkingDir}}/qt-creator/qt-creator/src/tools/sdktool --build {{.AgentWorkingDir}}/build/sdktool/build --install {{.AgentWorkingDir}}/build/sdktool/install --make-command make"
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to build sdktool, check logs."
|
||||
enable_if:
|
||||
condition: and
|
||||
conditions:
|
||||
@@ -54,6 +59,11 @@ instructions:
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to run build.py, check logs."
|
||||
- type: ExecuteCommand
|
||||
command: "python3 -u {{.AgentWorkingDir}}/build/qtsdk/packaging-tools/bld_sdktool.py --qt-url {{.Env.QTC_SDKTOOL_QT_BASE_URL}}{{.Env.QTC_SDKTOOL_QT_EXT}} --qt-build {{.AgentWorkingDir}}/build/sdktool/qt --src {{.AgentWorkingDir}}/qt-creator/qt-creator/src/tools/sdktool --build {{.AgentWorkingDir}}/build/sdktool/build --install {{.AgentWorkingDir}}/build/sdktool/install --make-command make"
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to build sdktool, check logs."
|
||||
enable_if:
|
||||
condition: property
|
||||
property: host.os
|
||||
@@ -96,6 +106,11 @@ instructions:
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to run build.py, check logs."
|
||||
- type: ExecuteCommand
|
||||
command: "python -u {{.AgentWorkingDir}}\\build\\qtsdk\\packaging-tools\\bld_sdktool.py --qt-url {{.Env.QTC_SDKTOOL_QT_BASE_URL}}{{.Env.QTC_SDKTOOL_QT_EXT}} --qt-build {{.AgentWorkingDir}}\\build\\sdktool\\qt --src {{.AgentWorkingDir}}\\qt-creator\\qt-creator\\src\\tools\\sdktool --build {{.AgentWorkingDir}}\\build\\sdktool\\build --install {{.AgentWorkingDir}}\\build\\sdktool\\install --make-command nmake"
|
||||
maxTimeInSeconds: 36000
|
||||
maxTimeBetweenOutput: 3600
|
||||
userMessageOnFailure: "Failed to build sdktool, check logs."
|
||||
enable_if:
|
||||
condition: and
|
||||
conditions:
|
||||
|
||||
@@ -8,9 +8,6 @@ instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: LLVM_BASE_URL
|
||||
variableValue: http://master.qt.io/development_releases/prebuilt/libclang/libclang-release_15.0.0-based
|
||||
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_QT_BASE_URL
|
||||
variableValue: "http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/6.3/6.3.2-final-released/Qt"
|
||||
@@ -20,11 +17,17 @@ instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: MACOSX_DEPLOYMENT_TARGET
|
||||
variableValue: 10.14
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_SDKTOOL_QT_BASE_URL
|
||||
variableValue: "http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/5.15/5.15.2-final-released/latest/src/submodules/qtbase-everywhere-src-5.15.2"
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_QT_POSTFIX
|
||||
variableValue: "-Windows-Windows_10_21H2-MSVC2019-Windows-Windows_10_21H2-X86_64.7z"
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_SDKTOOL_QT_EXT
|
||||
variableValue: ".zip"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.os
|
||||
@@ -34,6 +37,9 @@ instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_QT_POSTFIX
|
||||
variableValue: "-Linux-RHEL_8_4-GCC-Linux-RHEL_8_4-X86_64.7z"
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_SDKTOOL_QT_EXT
|
||||
variableValue: ".tar.xz"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.os
|
||||
@@ -43,22 +49,23 @@ instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_QT_POSTFIX
|
||||
variableValue: "-MacOS-MacOS_12-Clang-MacOS-MacOS_12-X86_64-ARM64.7z"
|
||||
- type: EnvironmentVariable
|
||||
variableName: QTC_SDKTOOL_QT_EXT
|
||||
variableValue: ".tar.xz"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.os
|
||||
equals_value: MacOS
|
||||
|
||||
- type: PrependToEnvironmentVariable
|
||||
variableName: PATH
|
||||
variableValue: "{{.Env.PYTHON3_PATH}};{{.Env.PIP3_PATH}};C:\\Utils\\gnuwin21\\bin;{{.InstallDir}}\\bin;"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.os
|
||||
equals_value: Windows
|
||||
|
||||
- type: PrependToEnvironmentVariable
|
||||
variableName: PATH
|
||||
variableValue: "C:\\Utils\\gnuwin32\\bin;"
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: PrependToEnvironmentVariable
|
||||
variableName: PATH
|
||||
variableValue: "{{.Env.PYTHON3_PATH}};{{.Env.PIP3_PATH}};{{.Env.CI_JOM_PATH}};C:\\Utils\\gnuwin21\\bin;{{.InstallDir}}\\bin;C:\\Utils\\gnuwin32\\bin;"
|
||||
# unset MAKEFLAGS, which interferes with running jom for the Qt build for sdktool
|
||||
- type: EnvironmentVariable
|
||||
variableName: MAKEFLAGS
|
||||
variableValue: ""
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.os
|
||||
|
||||
Reference in New Issue
Block a user