Mercurial > p > roundup > code
comparison .github/workflows/build-xapian.yml @ 7954:a0ccbcf69989
test: 1.4.19 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 xapian tarball. try 1.4.19
1.4.20 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:40:48 -0400 |
| parents | b2733bc45c62 |
| children | 694bbda71bf7 |
comparison
equal
deleted
inserted
replaced
| 7953:b2733bc45c62 | 7954:a0ccbcf69989 |
|---|---|
| 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.20"; echo $XAPIAN_VER; | 85 XAPIAN_VER="1.4.19"; 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. |
