Skip to content

Commit

Permalink
Merge pull request #1182 from enebo/jruby_ci
Browse files Browse the repository at this point in the history
Add JRuby rake CI task
  • Loading branch information
kddnewton authored Aug 2, 2023
2 parents e7bc02f + acd96b6 commit 7d0c39f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
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 ]

0 comments on commit 7d0c39f

Please sign in to comment.