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 - 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: roles:
- role: standard-test-basic - role: standard-test-basic
tags: tags:
- classic - classic
required_packages: required_packages:
- rpm - rpm
# build-self
- dnf
- rpm-build
# clang/fedora-flags # clang/fedora-flags
- clang - clang
#gcc-fedora-flags #gcc-fedora-flags
@ -15,5 +35,8 @@
- repo: https://src.fedoraproject.org/tests/clang.git - repo: https://src.fedoraproject.org/tests/clang.git
dest: clang dest: clang
tests: 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 - clang/fedora-flags
- gcc-fedora-flags - gcc-fedora-flags