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