Skip to content

Commit c55a80e

Browse files
authored
Test with --use-system-libraries (#191)
Relates to #128
1 parent 2681cba commit c55a80e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
ruby: ['3.3', '3.2', '3.1', '3.0', '2.7']
17+
use_system_libraries: [false, true]
1718

1819
steps:
1920
- uses: actions/checkout@v3
2021
- name: Set up Ruby ${{ matrix.ruby-version }}
2122
uses: ruby/setup-ruby@v1
2223
with:
2324
ruby-version: ${{ matrix.ruby }}
25+
- name: Install libgpgme-dev
26+
if: ${{ matrix.use_system_libraries }}
27+
run: |
28+
sudo apt install -y libgpgme-dev
29+
echo "RUBY_GPGME_USE_SYSTEM_LIBRARIES=1" >> $GITHUB_ENV
2430
- name: Install dependencies
2531
run: bundle install
2632
- name: Run tests

0 commit comments

Comments
 (0)