blob: 3139f12fa4980170ccd17e5ea6ffa553034c17ae [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
Jan Kundrát4d40a682023-01-13 16:33:05 +01006 post-run: playbooks/extract-logs/main.yaml
Jan Kundráte3c17462019-01-25 16:45:28 +01007 vars:
8 test_command: "ci/build.sh"
Jan Kundrát6c3f1e32020-04-07 12:35:12 +02009 perform_extra_work: false
Jan Kundrátd04e41b2020-04-20 23:33:06 +020010 timeout: 900
Jan Kundráta4e3c1c2020-04-20 16:16:25 +020011
12- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020013 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010014 parent: publish-artifacts-tenant
15 description: |
16 Retrieve all artifacts built by the last matching run in the check
17 pipeline, and promote them into a permanent location in the log server.
18 This is intended to be run within a promote pipeline.
Jan Kundráte61754b2019-02-26 20:32:46 +010019 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020020 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010021
Jan Kundráte61754b2019-02-26 20:32:46 +010022- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +010023 name: clang-format
24 description: |
25 Lint the current change via git-clang-format
26 run: playbooks/clang-format/run.yaml
27 failure-url: git-clang-format.patch
28 nodeset:
29 nodes:
Jan Kundrát770ef6e2020-04-20 16:19:58 +020030 - name: bld
Jan Kundrát5eed03c2023-05-05 12:45:05 +020031 label: f38-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +010032 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +020033
Jan Kundrát5eed03c2023-05-05 12:45:05 +020034# Fedora 38
35- job:
36 name: run-ci-build-sh-f38
37 parent: run-ci-build-sh
38 nodeset:
39 nodes:
40 - name: w
41 label: f38
42
43- job:
44 name: f38-gcc
45 description: |
46 Build on Fedora 38 with GCC.
47 parent: run-ci-build-sh-f38
48 vars:
49 perform_extra_work: true
50
51- job:
52 name: f38-gcc-cover
53 description: |
54 Build on Fedora 38 with GCC and code coverage.
55 parent: f38-gcc
56 post-run: playbooks/coverage-diff/upload-one-report.yaml
57 provides: coverage-f38-gcc-new
58 vars:
59 coverage_xml_dir: "{{ ansible_user_dir }}/build"
60
61- job:
62 name: f38-gcc-cover-previous
63 description: |
64 Build previous version of sources on Fedora 38 with GCC and code coverage.
65 parent: f38-gcc-cover
66 pre-run: playbooks/coverage-diff/checkout-previous.yaml
67 provides: coverage-f38-gcc-old
68 voting: false
69 vars:
70 coverage_xml_dir: "{{ ansible_user_dir }}/build"
71
72- job:
73 name: f38-gcc-asan-ubsan
74 description: |
75 Build on Fedora 38 with GCC and ASAN+UBSAN sanitizers.
76 parent: run-ci-build-sh-f38
77
78- job:
79 name: f38-clang
80 description: |
81 Build on Fedora 38 with clang.
82 parent: run-ci-build-sh-f38
83
84- job:
85 name: f38-clang-asan-ubsan
86 description: |
87 Build on Fedora 38 with clang and ASAN+UBSAN sanitizers.
88 parent: run-ci-build-sh-f38
89
90- job:
91 name: f38-clang-tsan
92 description: |
93 Build on Fedora 38 with clang and TSAN thread sanitizer.
94 parent: run-ci-build-sh-f38
95
96- job:
97 name: f38-cpp-coverage-diff
98 description: |
99 Report how coverage changed compared to the previous state of the repo.
100 nodeset:
101 nodes:
102 - name: w
103 label: f38-small
104 timeout: 120
105 pre-run: playbooks/coverage-diff/prepare.yaml
106 run: playbooks/coverage-diff/generate.yaml
107 post-run: playbooks/coverage-diff/upload-diff.yaml
108 success-url: coverage-diff.html
109 failure-url: coverage-diff.html
110 requires:
111 - coverage-f38-gcc-old
112 - coverage-f38-gcc-new
113 dependencies:
114 - f38-gcc-cover
115 - f38-gcc-cover-previous
116 vars:
117 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
118 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
119 coverage_job_name_previous: f38-gcc-cover-previous
120 coverage_job_name_current: f38-gcc-cover