Skip to content

ada;

ada; #16

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
name: Test (Ruby ${{ matrix.ruby-version }})
strategy:
fail-fast: false
matrix:
ruby-version:
- 2.6
- 2.7
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libxslt-dev libxml2-dev zlib1g-dev
version: 1.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: 1.17
- 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