Jan Kundrát | e3c1746 | 2019-01-25 16:45:28 +0100 | [diff] [blame] | 1 | - job: |
| 2 | name: run-ci-build-sh |
| 3 | description: | |
| 4 | Run project's ./ci/build.sh script. |
| 5 | run: playbooks/run-test-command/run.yaml |
| 6 | vars: |
| 7 | test_command: "ci/build.sh" |
Jan Kundrát | 6c3f1e3 | 2020-04-07 12:35:12 +0200 | [diff] [blame] | 8 | perform_extra_work: false |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 9 | nodeset: |
| 10 | nodes: |
| 11 | - name: w |
Jan Kundrát | de42520 | 2020-05-16 13:07:24 +0200 | [diff] [blame] | 12 | label: f31 |
Jan Kundrát | d04e41b | 2020-04-20 23:33:06 +0200 | [diff] [blame] | 13 | timeout: 900 |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 14 | |
| 15 | - job: |
| 16 | name: run-ci-build-sh-f31 |
Jan Kundrát | 9a616d5 | 2020-05-16 13:09:55 +0200 | [diff] [blame] | 17 | parent: run-ci-build-sh |
Jan Kundrát | fbc591e | 2019-02-26 17:52:58 +0100 | [diff] [blame] | 18 | |
| 19 | - job: |
Jan Kundrát | 4ef7050 | 2020-10-17 02:09:18 +0200 | [diff] [blame] | 20 | name: run-ci-build-sh-f32 |
| 21 | parent: run-ci-build-sh |
| 22 | nodeset: |
| 23 | nodes: |
| 24 | - name: w |
| 25 | label: f32 |
| 26 | |
| 27 | - job: |
Jan Kundrát | 3f9aa4b | 2019-06-05 23:25:38 +0200 | [diff] [blame] | 28 | name: promote-artifacts |
Jan Kundrát | fbc591e | 2019-02-26 17:52:58 +0100 | [diff] [blame] | 29 | parent: publish-artifacts-tenant |
| 30 | description: | |
| 31 | Retrieve all artifacts built by the last matching run in the check |
| 32 | pipeline, and promote them into a permanent location in the log server. |
| 33 | This is intended to be run within a promote pipeline. |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 34 | nodeset: |
Jan Kundrát | 3f9aa4b | 2019-06-05 23:25:38 +0200 | [diff] [blame] | 35 | nodes: [] |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 36 | |
Jan Kundrát | 770ef6e | 2020-04-20 16:19:58 +0200 | [diff] [blame] | 37 | # TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29 |
| 38 | - job: |
| 39 | name: f31-cpp-coverage-diff |
| 40 | description: | |
| 41 | Report how coverage changed compared to the previous state of the repo. |
| 42 | nodeset: |
| 43 | nodes: |
| 44 | - name: w |
| 45 | label: f31-small |
| 46 | timeout: 120 |
| 47 | pre-run: playbooks/coverage-diff/prepare.yaml |
| 48 | run: playbooks/coverage-diff/generate.yaml |
| 49 | post-run: playbooks/coverage-diff/upload-diff.yaml |
| 50 | success-url: coverage-diff.html |
| 51 | failure-url: coverage-diff.html |
| 52 | requires: |
| 53 | - coverage-f31-gcc-old |
| 54 | - coverage-f31-gcc-new |
| 55 | dependencies: |
| 56 | - f31-gcc-cover |
| 57 | - f31-gcc-cover-previous |
| 58 | vars: |
| 59 | previous_source_prefix: "{{ ansible_user_dir }}/previous-src" |
| 60 | coverage_xml_dir: "{{ zuul.project.src_dir }}/cover" |
| 61 | coverage_job_name_previous: f31-gcc-cover-previous |
| 62 | coverage_job_name_current: f31-gcc-cover |
| 63 | |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 64 | - job: |
Jan Kundrát | fd2386f | 2019-02-27 17:41:23 +0100 | [diff] [blame] | 65 | name: clang-format |
| 66 | description: | |
| 67 | Lint the current change via git-clang-format |
| 68 | run: playbooks/clang-format/run.yaml |
| 69 | failure-url: git-clang-format.patch |
| 70 | nodeset: |
| 71 | nodes: |
Jan Kundrát | 770ef6e | 2020-04-20 16:19:58 +0200 | [diff] [blame] | 72 | - name: bld |
Jan Kundrát | f6aa2b5 | 2020-11-12 02:26:56 +0100 | [diff] [blame^] | 73 | label: f32-small |
Jan Kundrát | fd2386f | 2019-02-27 17:41:23 +0100 | [diff] [blame] | 74 | timeout: 120 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 75 | |
| 76 | - job: |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 77 | name: f31-gcc |
| 78 | description: | |
| 79 | Build on Fedora 31 with GCC. |
| 80 | parent: run-ci-build-sh-f31 |
| 81 | vars: |
| 82 | perform_extra_work: true |
| 83 | |
| 84 | - job: |
| 85 | name: f31-gcc-cover |
| 86 | description: | |
| 87 | Build on Fedora 31 with GCC and code coverage. |
| 88 | parent: f31-gcc |
| 89 | post-run: playbooks/coverage-diff/upload-one-report.yaml |
| 90 | provides: coverage-f31-gcc-new |
| 91 | vars: |
| 92 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 93 | |
| 94 | - job: |
| 95 | name: f31-gcc-cover-previous |
| 96 | description: | |
| 97 | Build previous version of sources on Fedora 31 with GCC and code coverage. |
| 98 | parent: f31-gcc-cover |
| 99 | pre-run: playbooks/coverage-diff/checkout-previous.yaml |
| 100 | provides: coverage-f31-gcc-old |
| 101 | voting: false |
| 102 | vars: |
| 103 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 104 | |
| 105 | - job: |
| 106 | name: f31-gcc-asan |
| 107 | description: | |
| 108 | Build on Fedora 31 with GCC and ASAN sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 109 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 110 | |
| 111 | - job: |
| 112 | name: f31-gcc-asan-ubsan |
| 113 | description: | |
| 114 | Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 115 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 116 | |
| 117 | - job: |
| 118 | name: f31-clang |
| 119 | description: | |
| 120 | Build on Fedora 31 with clang. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 121 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 122 | |
| 123 | - job: |
| 124 | name: f31-clang-asan |
| 125 | description: | |
| 126 | Build on Fedora 31 with clang and ASAN sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 127 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 128 | |
| 129 | - job: |
| 130 | name: f31-clang-asan-ubsan |
| 131 | description: | |
| 132 | Build on Fedora 31 with clang and ASAN+UBSAN sanitizers. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 133 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 134 | |
| 135 | - job: |
| 136 | name: f31-clang-tsan |
| 137 | description: | |
| 138 | Build on Fedora 31 with clang and TSAN thread sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 139 | parent: run-ci-build-sh-f31 |
Jan Kundrát | 4ef7050 | 2020-10-17 02:09:18 +0200 | [diff] [blame] | 140 | |
| 141 | # Fedora 32 |
| 142 | - job: |
| 143 | name: f32-gcc |
| 144 | description: | |
| 145 | Build on Fedora 31 with GCC. |
| 146 | parent: run-ci-build-sh-f32 |
| 147 | vars: |
| 148 | perform_extra_work: true |
| 149 | |
| 150 | - job: |
| 151 | name: f32-gcc-cover |
| 152 | description: | |
| 153 | Build on Fedora 31 with GCC and code coverage. |
| 154 | parent: f32-gcc |
| 155 | post-run: playbooks/coverage-diff/upload-one-report.yaml |
| 156 | provides: coverage-f32-gcc-new |
| 157 | vars: |
| 158 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 159 | |
| 160 | - job: |
| 161 | name: f32-gcc-cover-previous |
| 162 | description: | |
| 163 | Build previous version of sources on Fedora 31 with GCC and code coverage. |
| 164 | parent: f32-gcc-cover |
| 165 | pre-run: playbooks/coverage-diff/checkout-previous.yaml |
| 166 | provides: coverage-f32-gcc-old |
| 167 | voting: false |
| 168 | vars: |
| 169 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 170 | |
| 171 | - job: |
| 172 | name: f32-gcc-asan |
| 173 | description: | |
| 174 | Build on Fedora 31 with GCC and ASAN sanitizer. |
| 175 | parent: run-ci-build-sh-f32 |
| 176 | |
| 177 | - job: |
| 178 | name: f32-gcc-asan-ubsan |
| 179 | description: | |
| 180 | Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers. |
| 181 | parent: run-ci-build-sh-f32 |
| 182 | |
| 183 | - job: |
| 184 | name: f32-clang |
| 185 | description: | |
| 186 | Build on Fedora 31 with clang. |
| 187 | parent: run-ci-build-sh-f32 |
| 188 | |
| 189 | - job: |
| 190 | name: f32-clang-asan |
| 191 | description: | |
| 192 | Build on Fedora 31 with clang and ASAN sanitizer. |
| 193 | parent: run-ci-build-sh-f32 |
| 194 | |
| 195 | - job: |
| 196 | name: f32-clang-asan-ubsan |
| 197 | description: | |
| 198 | Build on Fedora 31 with clang and ASAN+UBSAN sanitizers. |
| 199 | parent: run-ci-build-sh-f32 |
| 200 | |
| 201 | - job: |
| 202 | name: f32-clang-tsan |
| 203 | description: | |
| 204 | Build on Fedora 31 with clang and TSAN thread sanitizer. |
| 205 | parent: run-ci-build-sh-f32 |
Jan Kundrát | 70681c4 | 2020-10-17 20:10:30 +0200 | [diff] [blame] | 206 | |
| 207 | - job: |
| 208 | name: f32-cpp-coverage-diff |
| 209 | description: | |
| 210 | Report how coverage changed compared to the previous state of the repo. |
| 211 | nodeset: |
| 212 | nodes: |
| 213 | - name: w |
| 214 | label: f32-small |
| 215 | timeout: 120 |
| 216 | pre-run: playbooks/coverage-diff/prepare.yaml |
| 217 | run: playbooks/coverage-diff/generate.yaml |
| 218 | post-run: playbooks/coverage-diff/upload-diff.yaml |
| 219 | success-url: coverage-diff.html |
| 220 | failure-url: coverage-diff.html |
| 221 | requires: |
| 222 | - coverage-f32-gcc-old |
| 223 | - coverage-f32-gcc-new |
| 224 | dependencies: |
| 225 | - f32-gcc-cover |
| 226 | - f32-gcc-cover-previous |
| 227 | vars: |
| 228 | previous_source_prefix: "{{ ansible_user_dir }}/previous-src" |
| 229 | coverage_xml_dir: "{{ zuul.project.src_dir }}/cover" |
| 230 | coverage_job_name_previous: f32-gcc-cover-previous |
| 231 | coverage_job_name_current: f32-gcc-cover |