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 | 3f9aa4b | 2019-06-05 23:25:38 +0200 | [diff] [blame] | 20 | name: promote-artifacts |
Jan Kundrát | fbc591e | 2019-02-26 17:52:58 +0100 | [diff] [blame] | 21 | parent: publish-artifacts-tenant |
| 22 | description: | |
| 23 | Retrieve all artifacts built by the last matching run in the check |
| 24 | pipeline, and promote them into a permanent location in the log server. |
| 25 | This is intended to be run within a promote pipeline. |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 26 | nodeset: |
Jan Kundrát | 3f9aa4b | 2019-06-05 23:25:38 +0200 | [diff] [blame] | 27 | nodes: [] |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 28 | |
Jan Kundrát | 770ef6e | 2020-04-20 16:19:58 +0200 | [diff] [blame] | 29 | # TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29 |
| 30 | - job: |
| 31 | name: f31-cpp-coverage-diff |
| 32 | description: | |
| 33 | Report how coverage changed compared to the previous state of the repo. |
| 34 | nodeset: |
| 35 | nodes: |
| 36 | - name: w |
| 37 | label: f31-small |
| 38 | timeout: 120 |
| 39 | pre-run: playbooks/coverage-diff/prepare.yaml |
| 40 | run: playbooks/coverage-diff/generate.yaml |
| 41 | post-run: playbooks/coverage-diff/upload-diff.yaml |
| 42 | success-url: coverage-diff.html |
| 43 | failure-url: coverage-diff.html |
| 44 | requires: |
| 45 | - coverage-f31-gcc-old |
| 46 | - coverage-f31-gcc-new |
| 47 | dependencies: |
| 48 | - f31-gcc-cover |
| 49 | - f31-gcc-cover-previous |
| 50 | vars: |
| 51 | previous_source_prefix: "{{ ansible_user_dir }}/previous-src" |
| 52 | coverage_xml_dir: "{{ zuul.project.src_dir }}/cover" |
| 53 | coverage_job_name_previous: f31-gcc-cover-previous |
| 54 | coverage_job_name_current: f31-gcc-cover |
| 55 | |
Jan Kundrát | e61754b | 2019-02-26 20:32:46 +0100 | [diff] [blame] | 56 | - job: |
Jan Kundrát | fd2386f | 2019-02-27 17:41:23 +0100 | [diff] [blame] | 57 | name: clang-format |
| 58 | description: | |
| 59 | Lint the current change via git-clang-format |
| 60 | run: playbooks/clang-format/run.yaml |
| 61 | failure-url: git-clang-format.patch |
| 62 | nodeset: |
| 63 | nodes: |
Jan Kundrát | 770ef6e | 2020-04-20 16:19:58 +0200 | [diff] [blame] | 64 | - name: bld |
| 65 | label: f31-small |
Jan Kundrát | fd2386f | 2019-02-27 17:41:23 +0100 | [diff] [blame] | 66 | timeout: 120 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 67 | |
| 68 | - job: |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 69 | name: f31-gcc |
| 70 | description: | |
| 71 | Build on Fedora 31 with GCC. |
| 72 | parent: run-ci-build-sh-f31 |
| 73 | vars: |
| 74 | perform_extra_work: true |
| 75 | |
| 76 | - job: |
| 77 | name: f31-gcc-cover |
| 78 | description: | |
| 79 | Build on Fedora 31 with GCC and code coverage. |
| 80 | parent: f31-gcc |
| 81 | post-run: playbooks/coverage-diff/upload-one-report.yaml |
| 82 | provides: coverage-f31-gcc-new |
| 83 | vars: |
| 84 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 85 | |
| 86 | - job: |
| 87 | name: f31-gcc-cover-previous |
| 88 | description: | |
| 89 | Build previous version of sources on Fedora 31 with GCC and code coverage. |
| 90 | parent: f31-gcc-cover |
| 91 | pre-run: playbooks/coverage-diff/checkout-previous.yaml |
| 92 | provides: coverage-f31-gcc-old |
| 93 | voting: false |
| 94 | vars: |
| 95 | coverage_xml_dir: "{{ ansible_user_dir }}/build" |
| 96 | |
| 97 | - job: |
| 98 | name: f31-gcc-asan |
| 99 | description: | |
| 100 | Build on Fedora 31 with GCC and ASAN sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 101 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 102 | |
| 103 | - job: |
| 104 | name: f31-gcc-asan-ubsan |
| 105 | description: | |
| 106 | Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 107 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 108 | |
| 109 | - job: |
| 110 | name: f31-clang |
| 111 | description: | |
| 112 | Build on Fedora 31 with clang. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 113 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 114 | |
| 115 | - job: |
| 116 | name: f31-clang-asan |
| 117 | description: | |
| 118 | Build on Fedora 31 with clang and ASAN sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 119 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 120 | |
| 121 | - job: |
| 122 | name: f31-clang-asan-ubsan |
| 123 | description: | |
| 124 | Build on Fedora 31 with clang and ASAN+UBSAN sanitizers. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 125 | parent: run-ci-build-sh-f31 |
Jan Kundrát | f1ee858 | 2020-04-19 21:21:38 +0200 | [diff] [blame] | 126 | |
| 127 | - job: |
| 128 | name: f31-clang-tsan |
| 129 | description: | |
| 130 | Build on Fedora 31 with clang and TSAN thread sanitizer. |
Jan Kundrát | a4e3c1c | 2020-04-20 16:16:25 +0200 | [diff] [blame] | 131 | parent: run-ci-build-sh-f31 |