tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0)

This commit is contained in:
Miloš Prchlík 2021-12-06 12:55:31 +01:00 committed by sergesanspaille
parent a3f974ff8b
commit 78e4c0c54c
1 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,15 @@
#
# 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: libomp 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."
@ -6,6 +18,12 @@ adjust:
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 rust-toolset-1.58"
when: "collection == llvm-toolset-13.0"
discover:
- name: upstream-llvm-integration-testsuite
how: fmf
@ -14,10 +32,6 @@ discover:
test: integration-test-suite
execute:
how: tmt
prepare:
- name: packages
how: install
package: libomp
provision:
hardware:
memory: ">= 4 GiB"