summaryrefslogtreecommitdiff
path: root/coin/instructions/coin_dom_standalone_old_qt_win.yaml
blob: 12826af61366364bcd72d941d0b6a5b51b0f7ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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/qtdesignstudio/qt_63_snapshot_to_test_qmldom_standalone/qtbase/qtbase-Windows-Windows_10_21H2-MSVC2019-Windows-Windows_10_21H2-X86_64.7z -o qtbase.7z"
    ignoreExitCode: false
    maxTimeInSeconds: 1800
    maxTimeBetweenOutput: 900
    userMessageOnFailure: >
      download of http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qtdesignstudio/qt_63_snapshot_to_test_qmldom_standalone/qtbase/qtbase-Windows-Windows_10_21H2-MSVC2019-Windows-Windows_10_21H2-X86_64.7z failed
  - type: ExecuteCommand
    command: "curl -s http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qtdesignstudio/qt_63_snapshot_to_test_qmldom_standalone/qtdeclarative/qtdeclarative-Windows-Windows_10_21H2-MSVC2019-Windows-Windows_10_21H2-X86_64.7z -o qtdeclarative.7z"
    ignoreExitCode: false
    maxTimeInSeconds: 1800
    maxTimeBetweenOutput: 900
    userMessageOnFailure: >
     Download of http://ci-files02-hki.intra.qt.io/packages/jenkins/archive/qtdesignstudio/qt_63_snapshot_to_test_qmldom_standalone/qtdeclarative/qtdeclarative-Windows-Windows_10_21H2-MSVC2019-Windows-Windows_10_21H2-X86_64.7z failed
  - type: ExecuteCommand
    command: "7z.exe x  qtbase.7z"
    ignoreExitCode: false
    maxTimeInSeconds: 1800
    maxTimeBetweenOutput: 900
    userMessageOnFailure: >
      Uncompress of qtbase failed.
  - type: ExecuteCommand
    command: "7z.exe 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: PrependToEnvironmentVariable
    variableName: PATH
    variableValue: "{{.BuildDir}}/qt63/bin;"
  - 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: Windows
  - condition: property
    property: target.compiler
    contains_value: MSVC