blob: 92db2bd3659330b9ce8a67879b10f836b02eaf77 [file] [log] [blame]
- job:
name: run-ci-build-sh
description: |
Run project's ./ci/build.sh script.
run: playbooks/run-test-command/run.yaml
vars:
test_command: "ci/build.sh"
perform_extra_work: false
nodeset:
nodes:
- name: w
label: f31
timeout: 900
- job:
name: run-ci-build-sh-f31
parent: run-ci-build-sh
- job:
name: run-ci-build-sh-f32
parent: run-ci-build-sh
nodeset:
nodes:
- name: w
label: f32
- 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: f32-small
timeout: 120
# Fedora 32
- job:
name: f32-gcc
description: |
Build on Fedora 31 with GCC.
parent: run-ci-build-sh-f32
vars:
perform_extra_work: true
- job:
name: f32-gcc-cover
description: |
Build on Fedora 31 with GCC and code coverage.
parent: f32-gcc
post-run: playbooks/coverage-diff/upload-one-report.yaml
provides: coverage-f32-gcc-new
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f32-gcc-cover-previous
description: |
Build previous version of sources on Fedora 31 with GCC and code coverage.
parent: f32-gcc-cover
pre-run: playbooks/coverage-diff/checkout-previous.yaml
provides: coverage-f32-gcc-old
voting: false
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f32-gcc-asan
description: |
Build on Fedora 31 with GCC and ASAN sanitizer.
parent: run-ci-build-sh-f32
- job:
name: f32-gcc-asan-ubsan
description: |
Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f32
- job:
name: f32-clang
description: |
Build on Fedora 31 with clang.
parent: run-ci-build-sh-f32
- job:
name: f32-clang-asan
description: |
Build on Fedora 31 with clang and ASAN sanitizer.
parent: run-ci-build-sh-f32
- job:
name: f32-clang-asan-ubsan
description: |
Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f32
- job:
name: f32-clang-tsan
description: |
Build on Fedora 31 with clang and TSAN thread sanitizer.
parent: run-ci-build-sh-f32
- job:
name: f32-cpp-coverage-diff
description: |
Report how coverage changed compared to the previous state of the repo.
nodeset:
nodes:
- name: w
label: f32-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-f32-gcc-old
- coverage-f32-gcc-new
dependencies:
- f32-gcc-cover
- f32-gcc-cover-previous
vars:
previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
coverage_job_name_previous: f32-gcc-cover-previous
coverage_job_name_current: f32-gcc-cover