mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
tests: CRB in CentOS has different name
This commit is contained in:
parent
35d886f8dc
commit
e6d1a04f09
1 changed files with 10 additions and 2 deletions
|
@ -24,6 +24,15 @@ adjust:
|
||||||
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
|
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
|
||||||
when: "collection == llvm-toolset-13.0"
|
when: "collection == llvm-toolset-13.0"
|
||||||
|
|
||||||
|
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
||||||
|
- because: "On CentOS, CRB must be enabled to provide rarer packages"
|
||||||
|
prepare+:
|
||||||
|
- name: Enable CRB
|
||||||
|
how: shell
|
||||||
|
script: dnf config-manager --set-enabled crb
|
||||||
|
when: >-
|
||||||
|
distro == centos
|
||||||
|
|
||||||
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
# Unfortunatelly, 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"
|
- because: "On RHEL, CRB must be enabled to provide rarer packages"
|
||||||
prepare+:
|
prepare+:
|
||||||
|
@ -31,8 +40,7 @@ adjust:
|
||||||
how: shell
|
how: shell
|
||||||
script: dnf config-manager --set-enabled rhel-CRB
|
script: dnf config-manager --set-enabled rhel-CRB
|
||||||
when: >-
|
when: >-
|
||||||
distro == centos
|
distro == rhel-9
|
||||||
or distro == rhel-9
|
|
||||||
or distro == rhel-8
|
or distro == rhel-8
|
||||||
|
|
||||||
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
||||||
|
|
Loading…
Reference in a new issue