Mercurial > p > roundup > code
comparison .github/workflows/build-xapian.yml @ 7953:b2733bc45c62
test: 1.4.20 get xapian working under github actions and python 3.13
issue2551338 xapian doesn't build in CI for 3.13 python
binary search for working version of xapain tarball. try 1.4.20
1.4.22 failed with:
xapian_wrap.cc:65031:116: error: ‘FLAG_NO_POSITIONS’ is not a member
of ‘Xapian::QueryParser’
[skip travis]
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 12 May 2024 19:38:09 -0400 |
| parents | abe8d7bcd22b |
| children | a0ccbcf69989 |
comparison
equal
deleted
inserted
replaced
| 7952:abe8d7bcd22b | 7953:b2733bc45c62 |
|---|---|
| 80 set -xv | 80 set -xv |
| 81 sudo apt-get install libxapian-dev | 81 sudo apt-get install libxapian-dev |
| 82 # Sphinx required to build the xapian python bindings. Use 1.8.5 on | 82 # Sphinx required to build the xapian python bindings. Use 1.8.5 on |
| 83 # older python and newest on newer. | 83 # older python and newest on newer. |
| 84 if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi | 84 if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi |
| 85 XAPIAN_VER="1.4.22"; echo $XAPIAN_VER; | 85 XAPIAN_VER="1.4.20"; echo $XAPIAN_VER; |
| 86 cd /tmp | 86 cd /tmp |
| 87 curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz | 87 curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz |
| 88 tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz | 88 tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz |
| 89 cd xapian-bindings-$XAPIAN_VER/ | 89 cd xapian-bindings-$XAPIAN_VER/ |
| 90 # edit the configure script. | 90 # edit the configure script. |
