File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 with :
5353 name : prism.wasm
5454 path : java-wasm/src/test/resources/prism.wasm
55-
56- build-truffleruby :
57- runs-on : ubuntu-latest
58- steps :
59- - uses : actions/checkout@v6
60-
61- - name : Set up Ruby
62- uses : ruby/setup-ruby@v1
63- with :
64- ruby-version : head
65- bundler-cache : true
66-
67- - name : rake templates
68- run : PRISM_EXCLUDE_PRETTYPRINT=1 PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=1 PRISM_JAVA_BACKEND=truffleruby bundle exec rake templates
69-
70- - name : Set up WASI-SDK
71- run : |
72- wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.tar.gz
73- tar xvf wasi-sdk-25.0-x86_64-linux.tar.gz
74-
75- - name : Build the project
76- run : make java-wasm WASI_SDK_PATH=$(pwd)/wasi-sdk-25.0-x86_64-linux
77-
78- - name : Set up Java
79- uses : actions/setup-java@v5
80- with :
81- distribution : ' temurin'
82- java-version : ' 21'
83- cache : maven
84-
85- - name : Confirm compilation succeeds
86- run : mvn -B -DskipTests package
87- working-directory : java-wasm
Original file line number Diff line number Diff line change @@ -188,6 +188,18 @@ jobs:
188188 - name : Run Java Loader test
189189 run : PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=1 JRUBY_OPTS="-J-ea" bundle exec rake test:java_loader
190190
191+ build-java-truffleruby :
192+ runs-on : ubuntu-latest
193+ steps :
194+ - uses : actions/checkout@v6
195+ - name : Set up JRuby
196+ uses : ruby/setup-ruby@v1
197+ with :
198+ ruby-version : jruby
199+ bundler-cache : true
200+ - name : Run Java Loader test
201+ run : PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=1 PRISM_JAVA_BACKEND=truffleruby bundle exec rake compile
202+
191203 lex-ruby :
192204 runs-on : ubuntu-latest
193205 steps :
You can’t perform that action at this time.
0 commit comments