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 a942e10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ jobs:
fail-fast: false
matrix:
ruby: ['3.3', '3.2', '3.1', '3.0', '2.7']
use_system_libraries: [false, 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
echo "RUBY_GPGME_USE_SYSTEM_LIBRARIES=1" >> $GITHUB_ENV
- name: Install dependencies
run: bundle install
- name: Run tests
Expand Down

0 comments on commit a942e10

Please sign in to comment.