From 9c421f0c932f6dd97f59ed96f57eef21193736c4 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sun, 23 Jan 2022 14:55:20 -0500 Subject: [PATCH] ci: add coverage for system libxml2 --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e049171..de6f26f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,22 @@ jobs: bundler-cache: true - run: bundle exec rake + cruby-nokogiri-system-libraries: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.1" + - name: Install nokogiri with system libraries + run: | + sudo apt install pkg-config libxml2-dev libxslt-dev + bundle config set force_ruby_platform true + bundle config build.nokogiri --enable-system-libraries + bundle install + bundle exec nokogiri -v + - run: bundle exec rake + jruby: continue-on-error: true # nokogiri on jruby has different behavior strategy: