29 lines
697 B
YAML
29 lines
697 B
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
pre_tasks:
|
|
- name: Copy spec file to remote machine
|
|
copy:
|
|
src: "{{ playbook_dir }}/../abrt-java-connector.spec"
|
|
dest: /tmp/abrt-java-connector.spec
|
|
- name: Install build dependencies
|
|
shell: dnf -y build-dep /tmp/abrt-java-connector.spec
|
|
args:
|
|
warn: false
|
|
- name: Copy runtest.sh to /tmp
|
|
copy:
|
|
src: "{{ playbook_dir }}/../runtest.sh"
|
|
dest: /tmp/
|
|
roles:
|
|
- role: standard-test-source
|
|
- role: standard-test-basic
|
|
tests:
|
|
- smoke:
|
|
dir: ./source
|
|
run: /tmp/runtest.sh
|
|
required_packages:
|
|
- make
|
|
- gcc
|
|
- gcc-c++
|