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

WIP: Add JRuby support to use in rb-sys tests #11

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
04329df
First jruby ver, without any rust methods
uvlad7 Dec 15, 2023
7e14654
add native impl for java
uvlad7 Dec 15, 2023
e1fb188
Add simple test
uvlad7 Dec 15, 2023
738a34a
Fix
uvlad7 Dec 15, 2023
2c8e5a7
Fix
uvlad7 Dec 15, 2023
c14296c
Get rid of recursive Cargo files copying in the tmp dir
uvlad7 Dec 15, 2023
daaf6c3
Fmt
uvlad7 Dec 15, 2023
1290278
Bump java version for macos
uvlad7 Dec 15, 2023
168c900
Fix
uvlad7 Dec 15, 2023
81bdd12
Fix
uvlad7 Dec 15, 2023
059d872
Fix lib path
uvlad7 Dec 15, 2023
21de346
debug
uvlad7 Dec 15, 2023
cadd6f0
debug
uvlad7 Dec 19, 2023
0b6b6c6
debug
uvlad7 Dec 19, 2023
58a3a6c
Use forked github actions
uvlad7 Dec 20, 2023
647d7ff
Patch for CI
uvlad7 Dec 21, 2023
3c62826
Use the same java as robusta
uvlad7 Dec 21, 2023
ebaf51f
Remove dbg
uvlad7 Dec 21, 2023
830baa4
Fix tests
uvlad7 Dec 21, 2023
702a53f
Dbg
uvlad7 Dec 21, 2023
81254d6
Dbg
uvlad7 Dec 21, 2023
592f0cc
Dbg
uvlad7 Dec 21, 2023
6bb83d0
Dbg, broken cache cleaned
uvlad7 Dec 21, 2023
92c023e
Reoder CI matrix params to keep names consistent
uvlad7 Dec 22, 2023
0cda327
Impl test with embedding like in MRI variant
uvlad7 Dec 22, 2023
a6efc26
Merge pull request #1 from uvlad7/feature/jruby
uvlad7 Dec 22, 2023
2c9a04c
Revert debug-related changes, fix formatting
uvlad7 Dec 22, 2023
60564a8
Fix typo
uvlad7 Dec 22, 2023
108ef87
Fix var name
uvlad7 Dec 23, 2023
681f391
Fix
uvlad7 Dec 23, 2023
da82bdb
Fix Cargo.toml deps
uvlad7 Dec 23, 2023
3c08b4a
Fix gemspec, add jar
uvlad7 Dec 23, 2023
6ec4e5d
Remove java files from sources, only jars are distributed
uvlad7 Dec 25, 2023
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
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,21 @@ jobs:
include:
- os: windows-latest
ruby: mswin
- os: "ubuntu-latest"
ruby: jruby-9.4.3.0
- os: "macos-latest"
ruby: jruby-9.4.3.0
- os: "windows-latest"
ruby: jruby-9.4.3.0
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v4
if: startsWith( matrix.ruby, 'jruby')
with:
distribution: 'temurin'
java-version: '17'

- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
mkmf.log
target/
Gemfile.lock
*.jar
.rake_tasks~
.idea/
*.iml
Loading