jenkins.sh: build against all available python versions (#44287)

This commit is contained in:
Benjamin Dauvergne 2020-06-20 13:53:11 +02:00
parent 6c166563b2
commit 0d0e5286a7
1 changed files with 9 additions and 6 deletions

View File

@ -1,7 +1,10 @@
#!/bin/bash -e
./autogen.sh
./configure --enable-gtk-doc --enable-gtk-doc-html --enable-gtk-doc-pdf
make clean
make all V=1
make check V=1
make distcheck
set -e
for python_version in `ls /usr/bin/python*.* | grep 'python[0-9]\+\.[0-9]\+$'`; do
echo Building for $python_version
./autogen.sh --enable-gtk-doc --enable-gtk-doc-html --enable-gtk-doc-pdf --with-python=$python_version
make clean
make all V=1
make check V=1
make distcheck
done