blob: f9ebf42a452c852c647d430c622489288093b3ca [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
Jan Kundrátde425202020-05-16 13:07:24 +020012 label: f31
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
Jan Kundrát9a616d52020-05-16 13:09:55 +020017 parent: run-ci-build-sh
Jan Kundrátfbc591e2019-02-26 17:52:58 +010018
19- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020020 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010021 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áte61754b2019-02-26 20:32:46 +010026 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020027 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010028
Jan Kundrát770ef6e2020-04-20 16:19:58 +020029# 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áte61754b2019-02-26 20:32:46 +010056- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +010057 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át770ef6e2020-04-20 16:19:58 +020064 - name: bld
65 label: f31-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +010066 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +020067
68- job:
Jan Kundrátf1ee8582020-04-19 21:21:38 +020069 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áta4e3c1c2020-04-20 16:16:25 +0200101 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200102
103- job:
104 name: f31-gcc-asan-ubsan
105 description: |
106 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200107 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200108
109- job:
110 name: f31-clang
111 description: |
112 Build on Fedora 31 with clang.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200113 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200114
115- job:
116 name: f31-clang-asan
117 description: |
118 Build on Fedora 31 with clang 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-clang-asan-ubsan
123 description: |
124 Build on Fedora 31 with clang 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-tsan
129 description: |
130 Build on Fedora 31 with clang and TSAN thread sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200131 parent: run-ci-build-sh-f31