Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,25 @@ jobs:
- { os: windows-latest, ruby: jruby }
- { os: windows-latest, ruby: jruby-head }

env:
BUNDLE_WITHOUT: benchmark

steps:
- uses: actions/checkout@v5

- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
apt-get: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
brew: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"

- run: |
bundle config --without benchmark
bundle install

- run: rake compile ${{ matrix.env }}
- run: bundle exec rake compile ${{ matrix.env }}

- run: rake test JSON_COMPACT=1 ${{ matrix.env }}
- run: bundle exec rake test JSON_COMPACT=1 ${{ matrix.env }}

- run: rake build
- run: bundle exec rake build

- run: gem install pkg/*.gem
if: ${{ matrix.ruby != '3.2' }}
Expand Down
Loading