Blob Blame History Raw
#
# 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, 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

  - 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"
  - 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"

discover:
    - name: lld-tests
      how: fmf
      test: ld-alternative
execute:
    how: tmt
provision:
  hardware:
    memory: ">= 4 GiB"