Update CI script and tests.yml

Signed-off-by: Parag Nemade <pnemade@fedoraproject.org>
This commit is contained in:
Parag Nemade 2022-07-18 10:53:35 +05:30
parent 8816b516b4
commit 91b4cb6f55
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 21 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
cd ../source cd ../source
echo "---Start autogen.sh---" echo "---Start autogen.sh---"
@ -6,4 +7,15 @@ NOCONFIGURE=1 ./autogen.sh
echo "---End autogen.sh---" echo "---End autogen.sh---"
echo "--------------------" echo "--------------------"
find . -type f -exec sed -i 's/env python/python3/g' {} \; && ./configure --disable-static --with-graphite2 && echo "--------------------"; echo "---Start make check---"; make check; echo "---End make check---" ./configure --disable-static --with-graphite2 --with-gobject --enable-introspection
echo "--------------------"
echo "---Start make check---"
make check
retval=$?
echo $retval
if [ $retval -ne 0 ]; then
echo "make check failed"
else
echo "make check completed sucessfully"
fi
echo "---End make check---"

View File

@ -4,7 +4,14 @@
- classic - classic
roles: roles:
- role: standard-test-source - role: standard-test-source
tasks:
- name: Enable EPEL repository for ragel
ansible.builtin.dnf:
name: ragel
enablerepo: epel
state: present
ignore_errors: True
- hosts: localhost - hosts: localhost
tags: tags:
- classic - classic