redhat-rpm-config/tests/tests.yml

53 lines
1.1 KiB
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
#auto-set-build-flags
- gcc
- gcc-c++
- annobin-annocheck
- make
# no-new-dependency
- diffutils
- grep
2020-07-29 04:31:57 +00:00
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
- no-new-dependency
- auto-set-build-flags