Skip to content

Commit

Permalink
Test with --use-system-libraries
Browse files Browse the repository at this point in the history
Relates to #128
  • Loading branch information
stanhu committed Aug 28, 2024
1 parent 2681cba commit 16e1851
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@ jobs:
fail-fast: false
matrix:
ruby: ['3.3', '3.2', '3.1', '3.0', '2.7']
use_system_libraries: [false, true]

env:
RUBY_GPGME_USE_SYSTEM_LIBRARIES: ${{ matrix.use_system_libraries && matrix.use_system_libraries == 'true' }}

steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install libgpgme-dev
if: ${{ matrix.use_system_libraries }}
run: |
sudo apt install -y libgpgme-dev
- name: Install dependencies
run: bundle install
- name: Run tests
Expand Down

0 comments on commit 16e1851

Please sign in to comment.