File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 pull_request :
66 workflow_dispatch :
77
8- env :
9- LIBERICA_URL : https://download.bell-sw.com/java/17.0.3+7/bellsoft-jdk17.0.3+7-linux-amd64-full.tar.gz
10-
118jobs :
129 build-and-test :
1310 runs-on : ubuntu-latest
1411 if : ${{ 'pull_request' != github.event_name || (github.event.pull_request.head.repo.git_url != github.event.pull_request.base.repo.git_url) }}
1512 steps :
1613 - name : Cancel Previous Runs
17- uses : styfle/cancel-workflow-action@0.9.0
14+ uses : styfle/cancel-workflow-action@0.12.1
1815 with :
1916 access_token : ${{ github.token }}
2017
21- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
2219
23- - uses : olafurpg /setup-scala@v10
20+ - uses : actions /setup-java@v4
2421 with :
25- java-version : liberica@17=tgz+${{ env.LIBERICA_URL }}
22+ distribution : zulu
23+ java-version : 17
24+ java-package : jdk+fx
25+ cache : sbt
26+
27+ - uses : sbt/setup-sbt@v1
2628
27- - uses : actions/setup-python@v2
29+ - uses : actions/setup-python@v5
2830 with :
29- python-version : ' 3.9 '
31+ python-version : ' 3.10 '
3032
3133 - uses : sbt/setup-sbt@v1
3234
3941 - name : Build
4042 # We even install the extensions we can't or won't test just to avoid compile errors with them.
4143 # -Jeremy B May 2021
42- run : sbt -v update compile test:compile "test:runMain org.nlogo.workspace.ExtensionInstaller arduino array bitmap csv gis gogo ls matrix nw palette profiler py r rnd sound table time vid view2.5d"
44+ run : sbt -v update compile test:compile "test:runMain org.nlogo.workspace.ExtensionInstaller arduino array bitmap csv gis gogo ls matrix nw palette profiler py resource rnd sound sr table time vid view2.5d"
4345
4446 - name : Test 2D
4547 run : sbt -v -Dorg.nlogo.onLocal=false test
You can’t perform that action at this time.
0 commit comments