Skip to content

Commit

Permalink
Run Squeak tests with a st script
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Dec 21, 2023
1 parent 8f6b973 commit 6061119
Show file tree
Hide file tree
Showing 2 changed files with 5,726 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ jobs:
shell: bash
run: mx.trufflesqueak/utils.sh shallow-clone-graaljs
- name: Run gate with Graal compiler and Graal.js
run: mx --disable-polyglot --dy /compiler,/graal-js gate ${{ env.MX_GATE_OPTS }} --tags build,test
run: |
mx --disable-polyglot --dy /compiler,/graal-js build
export GRAALVM_HOME=$(mx --disable-polyglot --dy /compiler,/graal-js graalvm-home)
$GRAALVM_HOME/bin/trufflesqueak --vm.ea --vm.esa --headless --experimental-options --smalltalk.resource-summary=true --compiler.TreatPerformanceWarningsAsErrors=call,instanceof,store,trivial --engine.CompilationFailureAction=ExitVM --engine.CompilationStatistics images/test-64bit.image $(pwd)/src/de.hpi.swa.trufflesqueak.test/src/de/hpi/swa/trufflesqueak/test/runSqueakTests.st
if: ${{ runner.os != 'Windows' && env.RUN_WITH_COVERAGE != 'true' }}
- name: Run gate with Graal.js and code coverage # do not use Graal compiler with JaCoCo code coverage
run: mx --disable-polyglot --dy /graal-js gate ${{ env.MX_GATE_OPTS }} --tags build,test --jacocout coverage
Expand Down
Loading

0 comments on commit 6061119

Please sign in to comment.