2021-12-01 15:35:03 +00:00
|
|
|
summary: PoCL clang 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
|
2021-12-07 14:27:03 +00:00
|
|
|
|
2022-01-21 11:17:59 +00:00
|
|
|
- because: "PoCL is shipped with Fedora, not RHEL/CentOS"
|
|
|
|
when: >-
|
|
|
|
distro == rhel
|
|
|
|
or distro == centos
|
2021-12-07 14:27:03 +00:00
|
|
|
enabled: false
|
|
|
|
|
2021-10-18 14:01:51 +00:00
|
|
|
discover:
|
|
|
|
how: fmf
|
|
|
|
test: pocl
|
|
|
|
execute:
|
|
|
|
how: tmt
|
|
|
|
prepare:
|
|
|
|
# Programs linked against pocl should be able to run without clang installed,
|
|
|
|
# so when we run the test we want to make sure clang is not installed to
|
|
|
|
# verify we haven't introduced an implicit dependency on clang.
|
|
|
|
- name: Drop clang
|
|
|
|
how: shell
|
|
|
|
script: |
|
|
|
|
dnf erase -y clang
|
|
|
|
|
|
|
|
provision:
|
|
|
|
hardware:
|
|
|
|
memory: ">= 4 GiB"
|