blob: 92db2bd3659330b9ce8a67879b10f836b02eaf77 [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át4ef70502020-10-17 02:09:18 +020020 name: run-ci-build-sh-f32
21 parent: run-ci-build-sh
22 nodeset:
23 nodes:
24 - name: w
25 label: f32
26
27- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020028 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010029 parent: publish-artifacts-tenant
30 description: |
31 Retrieve all artifacts built by the last matching run in the check
32 pipeline, and promote them into a permanent location in the log server.
33 This is intended to be run within a promote pipeline.
Jan Kundráte61754b2019-02-26 20:32:46 +010034 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020035 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010036
Jan Kundráte61754b2019-02-26 20:32:46 +010037- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +010038 name: clang-format
39 description: |
40 Lint the current change via git-clang-format
41 run: playbooks/clang-format/run.yaml
42 failure-url: git-clang-format.patch
43 nodeset:
44 nodes:
Jan Kundrát770ef6e2020-04-20 16:19:58 +020045 - name: bld
Jan Kundrátf6aa2b52020-11-12 02:26:56 +010046 label: f32-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +010047 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +020048
Jan Kundrát4ef70502020-10-17 02:09:18 +020049# Fedora 32
50- job:
51 name: f32-gcc
52 description: |
53 Build on Fedora 31 with GCC.
54 parent: run-ci-build-sh-f32
55 vars:
56 perform_extra_work: true
57
58- job:
59 name: f32-gcc-cover
60 description: |
61 Build on Fedora 31 with GCC and code coverage.
62 parent: f32-gcc
63 post-run: playbooks/coverage-diff/upload-one-report.yaml
64 provides: coverage-f32-gcc-new
65 vars:
66 coverage_xml_dir: "{{ ansible_user_dir }}/build"
67
68- job:
69 name: f32-gcc-cover-previous
70 description: |
71 Build previous version of sources on Fedora 31 with GCC and code coverage.
72 parent: f32-gcc-cover
73 pre-run: playbooks/coverage-diff/checkout-previous.yaml
74 provides: coverage-f32-gcc-old
75 voting: false
76 vars:
77 coverage_xml_dir: "{{ ansible_user_dir }}/build"
78
79- job:
80 name: f32-gcc-asan
81 description: |
82 Build on Fedora 31 with GCC and ASAN sanitizer.
83 parent: run-ci-build-sh-f32
84
85- job:
86 name: f32-gcc-asan-ubsan
87 description: |
88 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
89 parent: run-ci-build-sh-f32
90
91- job:
92 name: f32-clang
93 description: |
94 Build on Fedora 31 with clang.
95 parent: run-ci-build-sh-f32
96
97- job:
98 name: f32-clang-asan
99 description: |
100 Build on Fedora 31 with clang and ASAN sanitizer.
101 parent: run-ci-build-sh-f32
102
103- job:
104 name: f32-clang-asan-ubsan
105 description: |
106 Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
107 parent: run-ci-build-sh-f32
108
109- job:
110 name: f32-clang-tsan
111 description: |
112 Build on Fedora 31 with clang and TSAN thread sanitizer.
113 parent: run-ci-build-sh-f32
Jan Kundrát70681c42020-10-17 20:10:30 +0200114
115- job:
116 name: f32-cpp-coverage-diff
117 description: |
118 Report how coverage changed compared to the previous state of the repo.
119 nodeset:
120 nodes:
121 - name: w
122 label: f32-small
123 timeout: 120
124 pre-run: playbooks/coverage-diff/prepare.yaml
125 run: playbooks/coverage-diff/generate.yaml
126 post-run: playbooks/coverage-diff/upload-diff.yaml
127 success-url: coverage-diff.html
128 failure-url: coverage-diff.html
129 requires:
130 - coverage-f32-gcc-old
131 - coverage-f32-gcc-new
132 dependencies:
133 - f32-gcc-cover
134 - f32-gcc-cover-previous
135 vars:
136 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
137 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
138 coverage_job_name_previous: f32-gcc-cover-previous
139 coverage_job_name_current: f32-gcc-cover