redhat-rpm-config/tests/tests.yml

43 lines
883 B
YAML
Raw Normal View History

---
2020-07-29 04:31:57 +00:00
- 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
2020-07-29 04:31:57 +00:00
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- rpm
# build-self
- dnf
- rpm-build
2020-07-29 04:31:57 +00:00
# clang/fedora-flags
- clang
#gcc-fedora-flags
- gcc
- gcc-c++
- annobin-annocheck
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"
2020-07-29 04:31:57 +00:00
- clang/fedora-flags
- gcc-fedora-flags