Skip to content

Commit

Permalink
Build notmuch with every python version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Jun 14, 2023
1 parent 8bbf05a commit 8da0e03
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 32 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/notmuch.yml

This file was deleted.

32 changes: 27 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,35 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies for the gpg python package
run: sudo apt update && sudo apt install -y libgpgme-dev
- name: Install dependencies for the gpg and notmuch python package
run: |
set -e
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libgpgme-dev libxapian-dev libgmime-3.0-dev libtalloc-dev swig
env:
DEBIAN_FRONTEND: noninteractive

- name: Install notmuch python bindings
- name: clone the notmuch repository
run: git clone --depth 1 git://notmuchmail.org/git/notmuch notmuch

- name: build the notmuch bindings
run: |
cd notmuch/bindings/python-cffi
pip install .
set -e
# Make and install the library.
./configure --without-bash-completion \
--without-api-docs \
--without-emacs \
--without-desktop \
--without-ruby \
--without-zsh-completion
make
sudo make install
working-directory: notmuch

- name: Install notmuch python bindings
run: pip install .
working-directory: notmuch/bindings/python-cffi

- name: Install dependencies
run: pip install .
Expand Down

0 comments on commit 8da0e03

Please sign in to comment.