Debian Codegraph @

coin/instructions/coin_fetch_doc_tools.yaml

raw
1 type: Group
2 instructions:
3 # This tells the script where to install the soon to be downloaded doc tools
4 - type: EnvironmentVariable
5 variableName: QT_CI_DOC_TOOLS_INSTALL_DIR
6 variableValue: "{{.BuildDir}}/doc_tools_build/install"
7
8 # Define the doc tools archive name when it is built by qtbase.
9 - type: EnvironmentVariable
10 variableName: QT_CI_DOC_TOOLS_ARCHIVE_NAME
11 variableValue: "static_doc_tools_qtbase.tar.gz"
12 enable_if:
13 condition: runtime
14 env_var: QT_CI_FETCH_REPO_DOC_TOOLS
15 not_equals_value: "1"
16
17 # Define the doc tools archive name when it is built by a repo other than qtbase.
18 - type: EnvironmentVariable
19 variableName: QT_CI_DOC_TOOLS_ARCHIVE_NAME
20 variableValue: "static_doc_tools_{{.Env.TESTED_MODULE_COIN}}.tar.gz"
21 enable_if:
22 condition: runtime
23 env_var: QT_CI_FETCH_REPO_DOC_TOOLS
24 equals_value: "1"
25
26 # Downloads the doc tools archive and extracts it to the install directory
27 - type: InstallBinaryArchive
28 directory: "{{.Env.QT_CI_DOC_TOOLS_INSTALL_DIR}}"
29 regex: "{{.Env.QT_CI_DOC_TOOLS_ARCHIVE_NAME}}"
30 maxTimeInSeconds: 1200
31 maxTimeBetweenOutput: 1200
32
33 - type: AppendToEnvironmentVariable
34 variableName: COIN_TEST_DOCS_CONFIGURE_EXTRA_CMAKE_ARGS
35 variableValue: " -DQT_OPTIONAL_TOOLS_PATH={{.Env.QT_CI_DOC_TOOLS_INSTALL_DIR}}"
36
37 enable_if:
38 condition: property
39 property: features
40 contains_value: DocsGenerationV2