Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JRuby rake CI task #1182

Merged
merged 9 commits into from
Aug 2, 2023
Merged
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ jobs:
- name: Run Ruby tests
run: bundle exec rake compile_no_debug

build-jruby:
runs-on: ubuntu-latest
env:
JRUBY_OPTS: "--dev"
steps:
- uses: actions/checkout@v3
- name: Set up JRuby
uses: ruby/setup-ruby@v1
with:
ruby-version: jruby
bundler-cache: true
- name: Compile generated Java files
run: jruby --dev -S bundle exec rake compile
shell: bash

lex-ruby:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ gemspec
gem "rake"
gem "rake-compiler"
gem "test-unit"
gem "ruby_memcheck"
gem "ruby_memcheck", platform: %i[ mri truffleruby mswin mingw x64_mingw ]