Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7405:6a64ed24696d
Try to use 1.4.20 version of xapian
It uses setuptools and not distutils like 1.4.18 that is being
retrived by looking at the installed xapian libs. I hope 1.4.X is
compatible across patch releases.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 May 2023 14:13:12 -0400 |
| parents | 531ca3b94b68 |
| children | 7d437f85eefc |
comparison
equal
deleted
inserted
replaced
| 7404:1642a7b501df | 7405:6a64ed24696d |
|---|---|
| 167 sudo apt-get install libxapian-dev | 167 sudo apt-get install libxapian-dev |
| 168 # Sphinx required to build the xapian python bindings. Use 1.8.5 on | 168 # Sphinx required to build the xapian python bindings. Use 1.8.5 on |
| 169 # older python and newest on newer. | 169 # older python and newest on newer. |
| 170 if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi | 170 if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi |
| 171 if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi | 171 if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi |
| 172 XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER | 172 if [[ $PYTHON_VERSION == '3.12'* ]] ; then \ |
| 173 XAPIAN_VER=1.4.20; \ | |
| 174 else | |
| 175 XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER; \ | |
| 176 fi | |
| 173 cd /tmp | 177 cd /tmp |
| 174 curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz | 178 curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz |
| 175 tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz | 179 tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz |
| 176 cd xapian-bindings-$XAPIAN_VER/ | 180 cd xapian-bindings-$XAPIAN_VER/ |
| 177 if [[ $PYTHON_VERSION == "2."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python --disable-documentation; fi | 181 if [[ $PYTHON_VERSION == "2."* ]]; then ./configure --prefix=$VIRTUAL_ENV --with-python --disable-documentation; fi |
