blob: 3139f12fa4980170ccd17e5ea6ffa553034c17ae [file] [log] [blame]
- job:
name: run-ci-build-sh
description: |
Run project's ./ci/build.sh script.
run: playbooks/run-test-command/run.yaml
post-run: playbooks/extract-logs/main.yaml
vars:
test_command: "ci/build.sh"
perform_extra_work: false
timeout: 900
- job:
name: promote-artifacts
parent: publish-artifacts-tenant
description: |
Retrieve all artifacts built by the last matching run in the check
pipeline, and promote them into a permanent location in the log server.
This is intended to be run within a promote pipeline.
nodeset:
nodes: []
- job:
name: clang-format
description: |
Lint the current change via git-clang-format
run: playbooks/clang-format/run.yaml
failure-url: git-clang-format.patch
nodeset:
nodes:
- name: bld
label: f38-small
timeout: 120
# Fedora 38
- job:
name: run-ci-build-sh-f38
parent: run-ci-build-sh
nodeset:
nodes:
- name: w
label: f38
- job:
name: f38-gcc
description: |
Build on Fedora 38 with GCC.
parent: run-ci-build-sh-f38
vars:
perform_extra_work: true
- job:
name: f38-gcc-cover
description: |
Build on Fedora 38 with GCC and code coverage.
parent: f38-gcc
post-run: playbooks/coverage-diff/upload-one-report.yaml
provides: coverage-f38-gcc-new
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f38-gcc-cover-previous
description: |
Build previous version of sources on Fedora 38 with GCC and code coverage.
parent: f38-gcc-cover
pre-run: playbooks/coverage-diff/checkout-previous.yaml
provides: coverage-f38-gcc-old
voting: false
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f38-gcc-asan-ubsan
description: |
Build on Fedora 38 with GCC and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f38
- job:
name: f38-clang
description: |
Build on Fedora 38 with clang.
parent: run-ci-build-sh-f38
- job:
name: f38-clang-asan-ubsan
description: |
Build on Fedora 38 with clang and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f38
- job:
name: f38-clang-tsan
description: |
Build on Fedora 38 with clang and TSAN thread sanitizer.
parent: run-ci-build-sh-f38
- job:
name: f38-cpp-coverage-diff
description: |
Report how coverage changed compared to the previous state of the repo.
nodeset:
nodes:
- name: w
label: f38-small
timeout: 120
pre-run: playbooks/coverage-diff/prepare.yaml
run: playbooks/coverage-diff/generate.yaml
post-run: playbooks/coverage-diff/upload-diff.yaml
success-url: coverage-diff.html
failure-url: coverage-diff.html
requires:
- coverage-f38-gcc-old
- coverage-f38-gcc-new
dependencies:
- f38-gcc-cover
- f38-gcc-cover-previous
vars:
previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
coverage_job_name_previous: f38-gcc-cover-previous
coverage_job_name_current: f38-gcc-cover