redhat-rpm-config/tests/tests.yml

47 lines
966 B
YAML

---
- hosts: localhost
tags:
- classic
tasks:
- dnf:
name: "*"
state: latest
- hosts: localhost
tags:
- classic
pre_tasks:
- import_role:
name: standard-test-source
vars:
fetch_only: True
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- rpm
# build-self
- dnf
- rpm-build
# clang/fedora-flags
- clang
#gcc-fedora-flags
- gcc
- gcc-c++
- annobin-annocheck
# no-new-dependency
- diffutils
- grep
repositories:
- repo: https://src.fedoraproject.org/tests/clang.git
dest: clang
tests:
- build-self:
dir: .
run: "dnf -y build-dep {{ tenv_workdir }}/redhat-rpm-config.spec && rpmbuild --define '_sourcedir {{ tenv_workdir }}' -ba {{ tenv_workdir }}/redhat-rpm-config.spec"
- clang/fedora-flags
- gcc-fedora-flags
- no-new-dependency