From 3b17c16c4e3b841791ea7b3aa6c7fcd35844ea0e Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Sat, 17 Feb 2024 13:27:05 +0100 Subject: [PATCH] Add and test `Polyglot installLanguage:version:` --- .github/workflows/ci.yml | 4 +++- src/image | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 446d3c770..441307070 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/src/image b/src/image index e9ba6b7d5..cd69aee12 160000 --- a/src/image +++ b/src/image @@ -1 +1 @@ -Subproject commit e9ba6b7d52b1304c8e9e095672d68dbaeb596081 +Subproject commit cd69aee12d7f3a31e2f1040b2af41ec847ef2e56