Skip to content

Commit

Permalink
Build gpgme before notmuch to speed up ci runs during dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Aug 1, 2024
1 parent c25502b commit 3d67e5c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,23 @@ jobs:
env:
DEBIAN_FRONTEND: noninteractive

# - name: Update the gpg dependency in the pyproject file
# # 1.16 is the version of gpgme that is currently available in ubuntu-latest (currently 22.04)
# run: sed -i 's|gpg>1.10.0|gpg @ https://dev.gnupg.org/source/[email protected]|' pyproject.toml
- name: Clone the gpgme repository
run: git clone --depth 1 --branch gpgme-1.16.0 https://dev.gnupg.org/source/gpgme.git gpgme

- name: Build the gpgme bindings
run: |
set -e
find
./autogen.sh
./configure --enable-maintainer-mode
make
sudo make install
find
working-directory: gpgme

- name: clone the notmuch repository
run: git clone --depth 1 https://git.notmuchmail.org/git/notmuch notmuch

Expand All @@ -59,23 +76,6 @@ jobs:
run: pip install .
working-directory: notmuch/bindings/python-cffi

# - name: Update the gpg dependency in the pyproject file
# # 1.16 is the version of gpgme that is currently available in ubuntu-latest (currently 22.04)
# run: sed -i 's|gpg>1.10.0|gpg @ https://dev.gnupg.org/source/[email protected]|' pyproject.toml
- name: Clone the gpgme repository
run: git clone --depth 1 --branch gpgme-1.16.0 https://dev.gnupg.org/source/gpgme.git gpgme

- name: Build the gpgme bindings
run: |
set -e
find
./autogen.sh
./configure --enable-maintainer-mode
make
sudo make install
find
working-directory: gpgme

- name: Install dependencies
run: pip install .

Expand Down

0 comments on commit 3d67e5c

Please sign in to comment.