Update CI tests

This commit is contained in:
Peng Wu 2024-05-28 12:53:10 +08:00
parent 25fbb59325
commit 06131d43f2
2 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
test: bash ./make_check.sh ../libhangul-*
test: bash ./make_check.sh ..
duration: 50m
framework: shell
require:
@ -8,3 +8,4 @@ require:
- automake
- libtool
- gettext-devel
- rpm-build

View File

@ -9,6 +9,15 @@ check_return_value () {
}
cd $1
VERSION=`rpmspec -q --srpm --qf "%{version}" libhangul.spec 2>/dev/null`
if test -d libhangul-$VERSION-build;
then cd libhangul-$VERSION-build;
fi
cd libhangul-$VERSION
autoreconf -f -i -v
./configure --prefix=/usr
check_return_value $?