From: Michael Hofmann <mhofmann@xxxxxxxxxx> Add clang MR/baseline pipelines Part of https://gitlab.com/cki-project/kernel-ark/-/issues/116 Signed-off-by: Michael Hofmann <mhofmann@xxxxxxxxxx> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index blahblah..blahblah 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,6 +101,14 @@ workflow: {"when": "always", "send_to": "ark-team@xxxxxxxxxx"} ] +.reported_tests_clang: + variables: + report_rules: | + [ + {"when": "failed_tests", "send_to": "failed_tests_maintainers"}, + {"when": "always", "send_to": ["tstellar@xxxxxxxxxx", "tbaeder@xxxxxxxxxx"]} + ] + .srpm_for_bot: rules: - *only-os-build-mr @@ -136,6 +144,26 @@ workflow: rpmbuild_with: arm64_16k debug package_name: kernel-16k-debug architectures: aarch64 + rawhide-clang-up: &rawhide-clang-up + rpmbuild_with: up base + package_name: kernel + architectures: x86_64 aarch64 s390x ppc64le + compiler: clang + rawhide-clang-up-debug: &rawhide-clang-up-debug + rpmbuild_with: up debug + package_name: kernel-debug + architectures: x86_64 aarch64 + compiler: clang + rawhide-clanglto-up: &rawhide-clanglto-up + rpmbuild_with: clang_lto up base + package_name: kernel + architectures: x86_64 aarch64 + compiler: clang + rawhide-clanglto-up-debug: &rawhide-clanglto-up-debug + rpmbuild_with: clang_lto up debug + package_name: kernel-debug + architectures: x86_64 aarch64 + compiler: clang eln-up: &eln-up rpmbuild_with: up base package_name: kernel @@ -145,6 +173,16 @@ workflow: rpmbuild_with: up debug package_name: kernel-debug architectures: x86_64 aarch64 s390x ppc64le + eln-clang-up: &eln-clang-up + rpmbuild_with: up base + package_name: kernel + architectures: x86_64 aarch64 s390x ppc64le + compiler: clang + eln-clang-up-debug: &eln-clang-up-debug + rpmbuild_with: up debug + package_name: kernel-debug + architectures: x86_64 aarch64 s390x ppc64le + compiler: clang eln-rt: &eln-rt rpmbuild_with: realtime base package_name: kernel-rt @@ -179,6 +217,22 @@ ark_16k_debug_merge_request: extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] variables: *rawhide-16k-debug +ark_clang_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-clang-up + +ark_clang_debug_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-clang-up-debug + +ark_clanglto_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-clanglto-up + +ark_clanglto_debug_merge_request: + extends: [.merge_request, .trigger_rawhide, .no_tests, .manual_for_bot] + variables: *rawhide-clanglto-up-debug + # Rawhide baselines ark_baseline: extends: [.baseline, .trigger_rawhide, .reported_tests, .ark_latest_head] @@ -196,6 +250,22 @@ ark_16k_debug_baseline: extends: [.baseline, .trigger_rawhide, .no_tests, .ark_latest_head] variables: *rawhide-16k-debug +ark_clang_baseline: + extends: [.baseline, .trigger_rawhide, .reported_tests_clang, .ark_latest_head] + variables: *rawhide-clang-up + +ark_clang_debug_baseline: + extends: [.baseline, .trigger_rawhide, .reported_tests_clang, .ark_latest_head] + variables: *rawhide-clang-up-debug + +ark_clanglto_baseline: + extends: [.baseline, .trigger_rawhide, .reported_tests_clang, .ark_latest_head] + variables: *rawhide-clanglto-up + +ark_clanglto_debug_baseline: + extends: [.baseline, .trigger_rawhide, .reported_tests_clang, .ark_latest_head] + variables: *rawhide-clanglto-up-debug + # ELN CI eln_merge_request: extends: [.merge_request, .trigger_eln, .no_tests, .srpm_for_bot] @@ -205,6 +275,14 @@ eln_debug_merge_request: extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot] variables: *eln-up-debug +# eln_clang_merge_request: +# extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot] +# variables: *eln-clang-up +# +# eln_clang_debug_merge_request: +# extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot] +# variables: *eln-clang-up-debug + eln_realtime_merge_request: extends: [.merge_request, .trigger_eln, .no_tests, .manual_for_bot] variables: *eln-rt @@ -230,6 +308,14 @@ eln_debug_baseline: extends: [.baseline, .trigger_eln, .reported_tests, .ark_latest_head] variables: *eln-up-debug +# eln_clang_baseline: +# extends: [.baseline, .trigger_eln, .reported_tests_clang, .ark_latest_head] +# variables: *eln-clang-up +# +# eln_clang_debug_baseline: +# extends: [.baseline, .trigger_eln, .reported_tests_clang, .ark_latest_head] +# variables: *eln-clang-up-debug + eln_realtime_baseline: # no tests as realtime code not present upstream extends: [.baseline, .trigger_eln, .no_tests, .ark_latest_head] variables: *eln-rt -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2651 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue