Skip to content

Commit

Permalink
Add and test Polyglot installLanguage:version:
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Feb 17, 2024
1 parent a4d578a commit 3b17c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,10 @@ jobs:
run: 'trufflesqueak --code "(String streamContents: [:s | SystemReporter basicNew reportImage: s; reportVM: s; reportVMParameters: s]) withUnixLineEndings" images/test-64bit.image'
- name: Run trufflesqueak-polyglot-get on TruffleSqueak JVM standalone
run: |
trufflesqueak-polyglot-get -v 23.1.0 -a js
trufflesqueak --code "Polyglot installLanguage: 'js' version: '23.1.0'" images/test-64bit.image
trufflesqueak --code "Polyglot eval: 'js' string: 'new Object({hello_world: 42})'" images/test-64bit.image
trufflesqueak-polyglot-get -v 23.1.0 -a java
trufflesqueak --code "Polyglot primitiveGetScope: 'java'" images/test-64bit.image
if: ${{ matrix.type == 'jvm' }}
- name: Upload TruffleSqueak standalone
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3b17c16

Please sign in to comment.