Mercurial > p > roundup > code
diff .github/workflows/ci-test.yml @ 7624:0e096d280437
build: build xapian on 3.12
See if xapian will build on github with 3.12rc2 using the standard
build method.
Removed override to 1.14.22 for 3.12 and enabled build rather than
skipping on 3.12.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 01:40:58 -0400 |
| parents | b3fdbeeda89e |
| children | aa8230de5b94 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Mon Sep 11 01:17:57 2023 -0400 +++ b/.github/workflows/ci-test.yml Mon Sep 11 01:40:58 2023 -0400 @@ -189,11 +189,7 @@ # older python and newest on newer. if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi - if [[ $PYTHON_VERSION == '3.12'* ]] ; then \ - XAPIAN_VER=1.4.22; \ - else - XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER; \ - fi + XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER cd /tmp curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz @@ -205,7 +201,7 @@ # Change distutils.sysconfig... to just sysconfig and SO # to EXT_SUFFIX to get valid value. if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi - case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac + case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac - name: Install pytest and other packages needed for running tests run: pip install flake8 mock pytest pytest-cov requests
