2022-01-24 12:44:33 +00:00
|
|
|
#
|
2024-11-09 18:00:50 +00:00
|
|
|
# Build/PR gating tests for *LLVM 19*
|
2022-01-24 12:44:33 +00:00
|
|
|
#
|
2024-11-09 18:00:50 +00:00
|
|
|
# Compatible with various LLVM 19 distributions:
|
2022-01-24 12:44:33 +00:00
|
|
|
#
|
2024-11-09 18:00:50 +00:00
|
|
|
# * Fedora (ursine packages)
|
|
|
|
# * CentOS 10 stream (ursine packages)
|
|
|
|
# * Centos 9 stream (ursine packages)
|
|
|
|
# * RHEL-10 (ursine packages)
|
|
|
|
# * RHEL-9 (ursine packages)
|
|
|
|
# * RHEL-8 (Red Hat module)
|
2022-01-24 12:44:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
summary: LLVM tests for build/PR gating
|
|
|
|
adjust:
|
|
|
|
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
|
|
|
|
when: >-
|
|
|
|
trigger is defined
|
|
|
|
and trigger != commit
|
|
|
|
and trigger != build
|
|
|
|
enabled: false
|
|
|
|
|
2024-11-09 18:00:50 +00:00
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
|
|
|
|
when: "collection == llvm-toolset-13.0"
|
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-14.0 rust-toolset-1.62"
|
|
|
|
when: "collection == llvm-toolset-14.0"
|
|
|
|
|
|
|
|
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
|
|
|
- because: "On CentOS, CRB must be enabled to provide rarer packages"
|
2022-01-24 12:44:33 +00:00
|
|
|
prepare+:
|
|
|
|
- name: Enable CRB
|
|
|
|
how: shell
|
2024-11-09 18:00:50 +00:00
|
|
|
script: dnf config-manager --set-enabled crb
|
2022-04-13 06:46:59 +00:00
|
|
|
when: >-
|
|
|
|
distro == centos
|
2024-11-09 18:00:50 +00:00
|
|
|
|
|
|
|
# Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.
|
|
|
|
- because: "On RHEL, CRB must be enabled to provide rarer packages"
|
2022-04-13 06:46:59 +00:00
|
|
|
prepare+:
|
|
|
|
- name: Enable CRB
|
|
|
|
how: shell
|
2024-11-09 18:00:50 +00:00
|
|
|
script: dnf config-manager --set-enabled rhel-CRB
|
|
|
|
when: >-
|
|
|
|
distro == rhel-9
|
|
|
|
or distro == rhel-8
|
2022-01-24 12:44:33 +00:00
|
|
|
|
|
|
|
discover:
|
2024-11-09 18:00:50 +00:00
|
|
|
- name: llvm-tests
|
2022-01-24 12:44:33 +00:00
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/llvm.git
|
2022-09-02 09:14:27 +00:00
|
|
|
ref: main
|
2024-11-09 18:00:50 +00:00
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: clang-tests
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/clang.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: compiler-rt-tests
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/compiler-rt.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: libomp-tests
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/libomp.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: python-lit
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/python-lit.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: lld-tests
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/lld.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
|
|
|
- name: lldb-tests
|
|
|
|
how: fmf
|
2024-11-29 11:18:37 +00:00
|
|
|
url: https://gitlab.com/redhat/centos-stream/tests/lldb.git
|
2024-11-09 18:00:50 +00:00
|
|
|
ref: main
|
|
|
|
filter: "tag:-spoils-installation & tag:-not-in-default"
|
2022-01-24 12:44:33 +00:00
|
|
|
execute:
|
2024-11-09 18:00:50 +00:00
|
|
|
how: tmt
|
2022-01-24 12:44:33 +00:00
|
|
|
provision:
|
|
|
|
hardware:
|
|
|
|
memory: ">= 4 GiB"
|