From a942e10b6ba204c2435a74b10b4645bce509522f Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 27 Aug 2024 22:29:39 -0700 Subject: [PATCH] Test with --use-system-libraries Relates to https://github.com/ueno/ruby-gpgme/pull/128 --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 108e306..4ef6167 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ 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 @@ -21,6 +22,11 @@ jobs: 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