Adapt CI to new xapian install process

This commit is contained in:
Antoine Bartuccio 2024-06-23 21:04:52 +02:00
parent 5416d88c97
commit e681c17a0f

View File

@ -6,13 +6,13 @@ runs:
- name: Install apt packages - name: Install apt packages
uses: awalsh128/cache-apt-pkgs-action@latest uses: awalsh128/cache-apt-pkgs-action@latest
with: with:
packages: gettext libxapian-dev libgraphviz-dev packages: gettext libgraphviz-dev
version: 1.0 # increment to reset cache version: 1.0 # increment to reset cache
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt update sudo apt update
sudo apt install gettext libxapian-dev libgraphviz-dev sudo apt install gettext libgraphviz-dev
shell: bash shell: bash
- name: Set up python - name: Set up python
@ -48,6 +48,10 @@ runs:
run: poetry install -E testing -E docs run: poetry install -E testing -E docs
shell: bash shell: bash
- name: Install xapian
run: poetry run ./manage.py install_xapian
shell: bash
- name: Compile gettext messages - name: Compile gettext messages
run: poetry run ./manage.py compilemessages run: poetry run ./manage.py compilemessages
shell: bash shell: bash