2021-12-06 15:19:29 +00:00
|
|
|
#
|
|
|
|
# Build/PR gating tests for *LLVM 13*
|
|
|
|
#
|
|
|
|
# Compatible with various LLVM 13 distributions:
|
|
|
|
#
|
|
|
|
# * Fedora (ursine packages)
|
|
|
|
# * Centos 9 stream (ursine packages)
|
|
|
|
# * RHEL-9 (ursine packages)
|
|
|
|
# * RHEL-8 (Red Hat module)
|
|
|
|
# * RHEL-7 (software collection)
|
|
|
|
#
|
|
|
|
|
2021-11-16 11:31:23 +00:00
|
|
|
summary: LLD tests for build/PR gating, testing alternatives and spoiling the installation
|
|
|
|
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
|
2021-12-06 15:19:29 +00:00
|
|
|
|
2022-05-03 14:59:58 +00:00
|
|
|
- because: lld is not shipped for s390x or ppc64
|
2022-02-15 10:15:20 +00:00
|
|
|
enabled: false
|
2022-05-03 14:59:58 +00:00
|
|
|
when: arch == s390x or arch == ppc64
|
2022-02-15 10:15:20 +00:00
|
|
|
|
2021-12-06 15:19:29 +00:00
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-13.0"
|
|
|
|
when: "collection == llvm-toolset-13.0"
|
2022-04-25 08:46:35 +00:00
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-14.0"
|
|
|
|
when: "collection == llvm-toolset-14.0"
|
2021-12-06 15:19:29 +00:00
|
|
|
|
2021-11-16 11:31:23 +00:00
|
|
|
discover:
|
|
|
|
- name: lld-tests
|
|
|
|
how: fmf
|
2022-09-12 10:59:16 +00:00
|
|
|
url: https://src.fedoraproject.org/tests/lld.git
|
|
|
|
ref: main
|
2021-11-16 11:31:23 +00:00
|
|
|
test: ld-alternative
|
|
|
|
execute:
|
|
|
|
how: tmt
|
|
|
|
provision:
|
|
|
|
hardware:
|
|
|
|
memory: ">= 4 GiB"
|