diff options
author | Fawzi Mohamed <[email protected]> | 2022-05-19 08:32:59 +0200 |
---|---|---|
committer | Tim Jenssen <[email protected]> | 2022-06-18 08:13:20 +0200 |
commit | 637b75279865ccdb7268a6524554ca584d1f7ef2 (patch) | |
tree | 6d25ed2845773dd5af467665efe0c8de9da8196d /coin | |
parent | 9225723a317b8c7e805416592b78aca0ed320049 (diff) |
fix and add test for DOM standalone build against 6.3
Adds a test that downloads the latest 6.3.x (6.3.1 currently) and
tries to build and run the example using the standalone QML DOM
library against it on MacOS x86_64.
Change-Id: Ifca8669a4cdb9e2aeb311e6b5988d5d648472aeb
Reviewed-by: Tim Jenssen <[email protected]>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/instructions/coin_dom_standalone_old_qt.yaml | 69 | ||||
-rw-r--r-- | coin/module_config.yaml | 1 |
2 files changed, 70 insertions, 0 deletions
diff --git a/coin/instructions/coin_dom_standalone_old_qt.yaml b/coin/instructions/coin_dom_standalone_old_qt.yaml new file mode 100644 index 0000000000..adae9ad8b6 --- /dev/null +++ b/coin/instructions/coin_dom_standalone_old_qt.yaml @@ -0,0 +1,69 @@ +type: Group +instructions: + - type: SetBuildDirectory + directory: "{{.SourceDir}}/examples/qml/qmldom" + - type: MakeDirectory + directory: "{{.BuildDir}}/qt63" + - type: ChangeDirectory + directory: "{{.BuildDir}}/qt63" + - type: EnvironmentVariable + variableName: CONFIGURE_ENV_PREFIX + variableValue: "{{.Env.ENV_PREFIX}}" + - type: ExecuteCommand + command: "curl -s http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/6.3/6.3.1-final-released/Qt6.3.1/qtbase/qtbase-MacOS-MacOS_12-Clang-MacOS-MacOS_12-X86_64-ARM64.7z -o qtbase.7z" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + download of http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/6.3/6.3.1-final-released/Qt6.3.1/qtbase/qtbase-MacOS-MacOS_12-Clang-MacOS-MacOS_12-X86_64-ARM64.7z failed + - type: ExecuteCommand + command: "curl -s http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/6.3/6.3.1-final-released/Qt6.3.1/qtdeclarative/qtdeclarative-MacOS-MacOS_12-Clang-MacOS-MacOS_12-X86_64-ARM64.7z -o qtdeclarative.7z" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + Download of http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qt/6.3/6.3.1-final-released/Qt6.3.1/qtdeclarative/qtdeclarative-MacOS-MacOS_12-Clang-MacOS-MacOS_12-X86_64-ARM64.7z failed + - type: ExecuteCommand + command: "7za x qtbase.7z" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + Uncompress of qtbase failed. + - type: ExecuteCommand + command: "7za x qtdeclarative.7z" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + Uncompress of qtdeclarative failed. + - type: ExecuteCommand + command: "{{.Env.ENV_PREFIX}} cmake -S {{.SourceDir}}/examples/qml/qmldom -B standalone63 -DCMAKE_PREFIX_PATH={{.BuildDir}}/qt63" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + configuration of qmldom standalone on Qt 6.3 failed + - type: ExecuteCommand + command: "{{.Env.ENV_PREFIX}} cmake --build standalone63" + ignoreExitCode: false + maxTimeInSeconds: 3600 + maxTimeBetweenOutput: 1800 + userMessageOnFailure: > + Compilation of qmldom standalone on Qt 6.3 FAILED, see the log for details. + - type: ExecuteCommand + command: "./standalone63/qmldomloadeditwrite" + ignoreExitCode: false + maxTimeInSeconds: 1800 + maxTimeBetweenOutput: 900 + userMessageOnFailure: > + Run of qmldom standalone on Qt 6.3 FAILED +enable_if: + condition: and + conditions: + - condition: property + property: target.arch + contains_value: X86_64 + - condition: property + property: target.os + contains_value: MacOS diff --git a/coin/module_config.yaml b/coin/module_config.yaml index aaf3323822..893dd49d75 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -11,3 +11,4 @@ instructions: Test: - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml" - !include "{{qt/qtbase}}/coin_module_test_docs.yaml" + - !include "{{qt/qtdeclarative}}/coin_dom_standalone_old_qt.yaml" |