compiler-rt/build-gating.fmf
Tulio Magno Quites Machado Filho 60a9f71c70 Better integrate with Koji
When testing builds from Koji, the i686 repositories are not available
on x86_64, requiring packages to be manually installed in order to run
cross-compile-i686.
2023-07-17 18:38:27 -03:00

47 lines
1.3 KiB
Text

#
# Build/PR gating tests for compiler-rt
#
# Compatible with various LLVM distributions:
#
# * Fedora (ursine packages)
# * Centos 9 stream (ursine packages)
# * RHEL-9 (ursine packages)
# * RHEL-8 (Red Hat module)
# * RHEL-7 (software collection)
#
summary: compiler-rt 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: "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"
- 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"
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
environment+:
WITH_SCL: "scl enable llvm-toolset-15.0"
when: "collection == llvm-toolset-15.0"
discover:
- name: compiler-rt tests
how: fmf
prepare:
- how: shell
script: sh ./setup_cross_packages.sh
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"