2c56e0d581
Add distrubution patches which were not upstreamed. Add self-tests and an OSCI harness. Resolves: bz2072635
53 lines
913 B
YAML
53 lines
913 B
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
tasks:
|
|
- name: Add executor host
|
|
add_host:
|
|
name: executor
|
|
ansible_connection: local
|
|
ansible_host: 127.0.0.1
|
|
ansible_ssh_connection: local
|
|
|
|
- name: Install build requires
|
|
delegate_to: executor
|
|
shell: dnf -y install autoconf automake
|
|
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
roles:
|
|
- role: standard-test-source
|
|
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
tasks:
|
|
- name: Copy spec file to remote machine
|
|
copy:
|
|
src: "{{ playbook_dir }}/../cscope.spec"
|
|
dest: /tmp/cscope.spec
|
|
|
|
- name: Install build deps
|
|
shell: dnf -y build-dep /tmp/cscope.spec
|
|
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
roles:
|
|
- role: standard-test-basic
|
|
tests:
|
|
- smoke
|
|
required_packages:
|
|
- autoconf
|
|
- automake
|
|
- pkgconf-pkg-config
|
|
- ncurses-devel
|
|
- flex
|
|
- bison
|
|
- m4
|
|
- gcc
|
|
- sed
|
|
- make
|