add opts to configure yajl, allow to pass opts as hash in Ruby3 #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.0.2' | |
- '3.2.2' | |
- '2.7.8' | |
- '2.3.8' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use proper Gemfile.lock | |
if: ${{ matrix.ruby == '2.3.8' }} | |
run: mv Gemfile_old_ruby.lock Gemfile.lock | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Install libraries | |
run: sudo apt install -y libyajl2 libyajl-dev | |
- name: Run the default task | |
run: bundle exec rake | |
# TODO: all valgrind run, at least for tags |