CI: Rebuild redhat-rpm-config to assert we did not break the world

This commit is contained in:
Miro Hrončok 2021-09-02 18:58:16 +02:00 committed by churchyard
parent 17a3cd024b
commit 71f61e78a9
1 changed files with 23 additions and 0 deletions

View File

@ -1,10 +1,30 @@
---
- 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
@ -15,5 +35,8 @@
- 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