Skip to content

Commit

Permalink
special case ignore gpg build - 24.04 ubuntu github action migration
Browse files Browse the repository at this point in the history
If gpg build fails and we are on 24.04, continue.

This allows build to still fail if gpg build fails on another platform
provided I have the script correct. I build gpg on 24.04 to make
testing a fix/change to the underlying platform packages easy. In case
an external change fixes it.

[skip travis]
  • Loading branch information
rouilj committed Nov 10, 2024
1 parent 5a458ef commit 46f0e73
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,17 @@ jobs:
- name: Install auxiliary packages
run: |
sudo apt-get install swig gpgsm libgpgme-dev
# required for pip install/build of gpg on ubuntu 24.04??
sudo apt-get install libgpgme11t64 || true
# pygments for markdown2 to highlight code blocks
pip install markdown2 pygments
# docutils for ReStructuredText
pip install beautifulsoup4 brotli docutils gpg jinja2 \
pip install beautifulsoup4 brotli docutils jinja2 \
mistune==0.8.4 pyjwt pytz whoosh
# gpg doesn't build on Ubuntu 24.04. Ignore failure on that
# platform only. Grep os-release to cover matrix.os in
# [ubunutu-latest, ubuntu-24.04].
pip install gpg || ( save_status=$?; \
if grep 24.04 /etc/os-release > /dev/null; then \
exit 0; else exit $save_status; fi; )
- name: Install aux packages that need versions differences
# if zstd fails install, keep going with test, don't abort
Expand Down

0 comments on commit 46f0e73

Please sign in to comment.