summaryrefslogtreecommitdiffstats
path: root/coin/instructions/execute_license_check.yaml
blob: 603201a938285fe2bce0167b5b2e2673792e54e4 (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
type: Group
instructions:
  - type: InstallSourceArchive
    maxTimeInSeconds: 600
    maxTimeBetweenOutput: 600
    project: qt/qtqa
    ref: master
    directory: qt/qtqa
    userMessageOnFailure: "Could not install qt/qtqa source archive. Please investigate why."
  - type: InstallSourceArchive
    maxTimeInSeconds: 600
    maxTimeBetweenOutput: 600
    project: qt/qtbase
    ref: 5.12.7
    directory: qt/qtbase
    userMessageOnFailure: "Could not install qt/base source archive. Please investigate why."
  - type: ChangeDirectory
    directory: "{{.AgentWorkingDir}}"
  - type: ExecuteCommand
    command: ["perl", "{{.AgentWorkingDir}}/qt/qtqa/tests/prebuild/license/tst_licenses.pl"]
    maxTimeInSeconds: 7200
    maxTimeBetweenOutput: 120
    userMessageOnFailure: "Running license check failed."
enable_if:
  condition: property
  property: features
  contains_value: LicenseCheck