# # Build/PR gating tests for *LLVM 13* # # Imports and runs tests provided by Fedora LLVM git for the matching LLVM version. # summary: LLVM 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 # Unfortunately, TMT does not support more declarative approach, we need to run commands on our own. - because: "On RHEL, CRB must be enabled to provide rarer packages" prepare+: - name: Enable CRB how: shell script: dnf config-manager --set-enabled *-CRB when: >- distro == rhel-9 or distro == rhel-8 discover: - name: llvm-upstream how: fmf url: https://src.fedoraproject.org/tests/llvm.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: clang-upstream how: fmf url: https://src.fedoraproject.org/tests/clang.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: python-lit-upstream how: fmf url: https://src.fedoraproject.org/tests/python-lit.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: lldb-upstream how: fmf url: https://src.fedoraproject.org/tests/lldb.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: lld-upstream how: fmf url: https://src.fedoraproject.org/tests/lld.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: libomp-upstream how: fmf url: https://src.fedoraproject.org/tests/libomp.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" - name: compiler-rt-upstream how: fmf url: https://src.fedoraproject.org/tests/compiler-rt.git ref: main filter: "tag:-spoils-installation & tag:-not-in-default" execute: how: tmt provision: hardware: memory: ">= 4 GiB"