Skip to content

Commit

Permalink
ada;
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbjorn committed Feb 27, 2024
1 parent 4bb585d commit 5a0e25f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
ruby-version:
- 2.6
- 2.7
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true

steps:
- uses: actions/checkout@v4

Expand All @@ -29,6 +32,8 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler: 1.17

- run: gem pristine nokogiri
- run: |
bundle config build.nokogiri "--with-xml2-include=/usr/include/libxml2/libxml --with-xml2-lib=/usr/lib64/ --with-xslt-include=/usr/include/libxslt --with-xslt-lib=/usr/lib64/"
- run: bundle install
- run: bundle exec rake
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
source "https://rubygems.org"

ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = "true"

gemspec

group :test do
Expand Down

0 comments on commit 5a0e25f

Please sign in to comment.