f5a68fd4b0
lld isn't being built nor shipped for this architecture, unlike many other LLVM components. Make tests aware of their relevancy.
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
#
|
|
# 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)
|
|
#
|
|
|
|
summary: LLD 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
|
|
|
|
- because: lld is not shipped for s390x
|
|
enabled: false
|
|
when: arch == s390x
|
|
|
|
- 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"
|
|
|
|
discover:
|
|
- name: lld-tests
|
|
how: fmf
|
|
filter: "tag:-spoils-installation"
|
|
- name: upstream-llvm-integration-testsuite
|
|
how: fmf
|
|
url: https://src.fedoraproject.org/rpms/llvm.git
|
|
ref: rawhide
|
|
test: integration-test-suite
|
|
execute:
|
|
how: tmt
|
|
provision:
|
|
hardware:
|
|
memory: ">= 4 GiB"
|