blob: 3b2a93b472f01e876b6ebaf98426a20498a2a788 [file] [log] [blame]
Jan Kundráte3c17462019-01-25 16:45:28 +01001- 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át6c3f1e32020-04-07 12:35:12 +02008 perform_extra_work: false
Jan Kundráte61754b2019-02-26 20:32:46 +01009 nodeset:
10 nodes:
11 - name: w
12 label: f29
Jan Kundrátd04e41b2020-04-20 23:33:06 +020013 timeout: 900
Jan Kundráta4e3c1c2020-04-20 16:16:25 +020014
15- job:
16 name: run-ci-build-sh-f31
17 description: |
18 Run project's ./ci/build.sh script.
19 run: playbooks/run-test-command/run.yaml
20 vars:
21 test_command: "ci/build.sh"
22 perform_extra_work: false
23 nodeset:
24 nodes:
25 - name: w
26 label: f31
Jan Kundráte61754b2019-02-26 20:32:46 +010027 timeout: 900
Jan Kundrátfbc591e2019-02-26 17:52:58 +010028
29- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020030 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010031 parent: publish-artifacts-tenant
32 description: |
33 Retrieve all artifacts built by the last matching run in the check
34 pipeline, and promote them into a permanent location in the log server.
35 This is intended to be run within a promote pipeline.
Jan Kundráte61754b2019-02-26 20:32:46 +010036 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020037 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010038
39- job:
40 name: f29-gcc
41 description: |
42 Build on Fedora 29 with GCC.
43 parent: run-ci-build-sh
Jan Kundrát6c3f1e32020-04-07 12:35:12 +020044 vars:
45 perform_extra_work: true
Jan Kundrát6fd186a2020-04-08 02:46:52 +020046
Jan Kundrát770ef6e2020-04-20 16:19:58 +020047# TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29
48- job:
49 name: f31-cpp-coverage-diff
50 description: |
51 Report how coverage changed compared to the previous state of the repo.
52 nodeset:
53 nodes:
54 - name: w
55 label: f31-small
56 timeout: 120
57 pre-run: playbooks/coverage-diff/prepare.yaml
58 run: playbooks/coverage-diff/generate.yaml
59 post-run: playbooks/coverage-diff/upload-diff.yaml
60 success-url: coverage-diff.html
61 failure-url: coverage-diff.html
62 requires:
63 - coverage-f31-gcc-old
64 - coverage-f31-gcc-new
65 dependencies:
66 - f31-gcc-cover
67 - f31-gcc-cover-previous
68 vars:
69 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
70 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
71 coverage_job_name_previous: f31-gcc-cover-previous
72 coverage_job_name_current: f31-gcc-cover
73
Jan Kundráte61754b2019-02-26 20:32:46 +010074- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +010075 name: clang-format
76 description: |
77 Lint the current change via git-clang-format
78 run: playbooks/clang-format/run.yaml
79 failure-url: git-clang-format.patch
80 nodeset:
81 nodes:
Jan Kundrát770ef6e2020-04-20 16:19:58 +020082 - name: bld
83 label: f31-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +010084 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +020085
86- job:
Jan Kundrátf1ee8582020-04-19 21:21:38 +020087 name: f31-gcc
88 description: |
89 Build on Fedora 31 with GCC.
90 parent: run-ci-build-sh-f31
91 vars:
92 perform_extra_work: true
93
94- job:
95 name: f31-gcc-cover
96 description: |
97 Build on Fedora 31 with GCC and code coverage.
98 parent: f31-gcc
99 post-run: playbooks/coverage-diff/upload-one-report.yaml
100 provides: coverage-f31-gcc-new
101 vars:
102 coverage_xml_dir: "{{ ansible_user_dir }}/build"
103
104- job:
105 name: f31-gcc-cover-previous
106 description: |
107 Build previous version of sources on Fedora 31 with GCC and code coverage.
108 parent: f31-gcc-cover
109 pre-run: playbooks/coverage-diff/checkout-previous.yaml
110 provides: coverage-f31-gcc-old
111 voting: false
112 vars:
113 coverage_xml_dir: "{{ ansible_user_dir }}/build"
114
115- job:
116 name: f31-gcc-asan
117 description: |
118 Build on Fedora 31 with GCC and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200119 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200120
121- job:
122 name: f31-gcc-asan-ubsan
123 description: |
124 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200125 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200126
127- job:
128 name: f31-clang
129 description: |
130 Build on Fedora 31 with clang.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200131 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200132
133- job:
134 name: f31-clang-asan
135 description: |
136 Build on Fedora 31 with clang and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200137 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200138
139- job:
140 name: f31-clang-asan-ubsan
141 description: |
142 Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200143 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200144
145- job:
146 name: f31-clang-tsan
147 description: |
148 Build on Fedora 31 with clang and TSAN thread sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200149 parent: run-ci-build-sh-f31