Skip to content

Commit

Permalink
ci: add coverage for system libxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jun 9, 2022
1 parent 984b82e commit 9c421f0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c421f0

Please sign in to comment.