blob: ff32b3bb8f5d87f01309d0747eaefea2bca19a0f [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
13 timeout: 900
Jan Kundrátfbc591e2019-02-26 17:52:58 +010014
15- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020016 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010017 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áte61754b2019-02-26 20:32:46 +010022 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020023 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010024
25- job:
26 name: f29-gcc
27 description: |
28 Build on Fedora 29 with GCC.
29 parent: run-ci-build-sh
Jan Kundrát6c3f1e32020-04-07 12:35:12 +020030 vars:
31 perform_extra_work: true
Jan Kundrát6fd186a2020-04-08 02:46:52 +020032
33- job:
34 name: f29-gcc-cover
35 description: |
Jan Kundrát473cdf52020-04-14 13:34:33 +020036 Build on Fedora 29 with GCC and code coverage.
Jan Kundrát6fd186a2020-04-08 02:46:52 +020037 parent: f29-gcc
Jan Kundrát473cdf52020-04-14 13:34:33 +020038 post-run: playbooks/coverage-diff/upload-one-report.yaml
39 provides: coverage-f29-gcc-new
Jan Kundrát6fd186a2020-04-08 02:46:52 +020040 vars:
Jan Kundrát3a016432020-04-07 22:47:49 +020041 coverage_xml_dir: "{{ ansible_user_dir }}/build"
42
43- job:
44 name: f29-gcc-cover-diff
Jan Kundrát473cdf52020-04-14 13:34:33 +020045 parent: noop # TODO: remove this job once all users are adopted
46
47- job:
48 name: f29-gcc-cover-previous
Jan Kundrát3a016432020-04-07 22:47:49 +020049 description: |
Jan Kundrát473cdf52020-04-14 13:34:33 +020050 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át3a016432020-04-07 22:47:49 +020055 vars:
56 coverage_xml_dir: "{{ ansible_user_dir }}/build"
Jan Kundrát473cdf52020-04-14 13:34:33 +020057
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áte61754b2019-02-26 20:32:46 +010083
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átfd2386f2019-02-27 17:41:23 +0100113
114- job:
Jan Kundrát354353b2019-03-11 14:12:21 +0100115 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átfd2386f2019-02-27 17:41:23 +0100121 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