diff .github/workflows/ci-test.yml @ 7947:ff434d134921

test: see if xapian 1.4.25 will build with 3.13beta1 issue2551338 xapian doesn't build in CI for 3.13 python Try to build xapian with newest xapian release (1.4.25 - 2024-03-07) against the 1.4.18 libraries installed on the github CI platform. This may work as the 1.4 ABI is supposed to be compatible. [skip travis]
author John Rouillard <rouilj@ieee.org>
date Sun, 12 May 2024 18:55:52 -0400
parents 7a98b308cdfd
children ff05fd2a95c4
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Sun May 12 18:41:40 2024 -0400
+++ b/.github/workflows/ci-test.yml	Sun May 12 18:55:52 2024 -0400
@@ -224,7 +224,7 @@
               pip install Markdown; fi
 
       - name: Install xapian
-        if: matrix.python-version != '3.13'
+        if: matrix.python-version != '3.14'
         run: |
           set -xv
           sudo apt-get install libxapian-dev
@@ -232,7 +232,11 @@
           # 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
-          XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER;
+          if [[ $PYTHON_VERSION != "3.13" ]]; then
+             XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER;
+          else
+             XAPIAN_VER="1.4.25"; echo $XAPIAN_VER;
+          fi
           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
@@ -255,7 +259,7 @@
             diff -u configure.FCS configure || true; \
             ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; \
           fi
-          case "$PYTHON_VERSION" in "3.13") echo skipping xapian build;; *) make && sudo make install; esac
+          case "$PYTHON_VERSION" in "3.14") echo skipping xapian build;; *) make && sudo make install; esac
 
       - name: Test build roundup and install locale so lang tests work.
         run: |

Roundup Issue Tracker: http://roundup-tracker.org/