@@ -29,21 +29,21 @@ jobs:
2929 default_runner : ubuntu-latest
3030 runs-on : ${{ matrix.runner }}
3131 steps :
32- - uses : actions/checkout@v3
33- - name : Set up JDK
34- uses : actions/setup-java@v3
35- with :
36- java-version : 11
37- distribution : zulu
38- - name : build
39- run : ./build-coatjava.sh --spotbugs --unittests --quiet
40- - name : tar # tarball to preserve permissions
41- run : tar czvf coatjava.tar.gz coatjava
42- - uses : actions/upload-artifact@v3
43- with :
44- name : build_${{ matrix.runner }}
45- retention-days : 1
46- path : coatjava.tar.gz
32+ - uses : actions/checkout@v3
33+ - name : Set up JDK
34+ uses : actions/setup-java@v3
35+ with :
36+ java-version : 11
37+ distribution : zulu
38+ - name : build
39+ run : ./build-coatjava.sh --spotbugs --unittests --quiet
40+ - name : tar # tarball to preserve permissions
41+ run : tar czvf coatjava.tar.gz coatjava
42+ - uses : actions/upload-artifact@v3
43+ with :
44+ name : build_${{ matrix.runner }}
45+ retention-days : 1
46+ path : coatjava.tar.gz
4747
4848 test_coatjava :
4949 needs : [ build ]
@@ -69,47 +69,46 @@ jobs:
6969 - { id: eb-eftpi, cmd: ./run-eb-tests.sh -100 electronFTpion }
7070 # run one macos test
7171 - { runner: macos-latest, id: eb-ep, cmd: ./run-eb-tests.sh -100 electronproton }
72-
7372 runs-on : ${{ matrix.runner }}
7473 steps :
75- - uses : actions/checkout@v3
76- - name : Set up JDK
77- uses : actions/setup-java@v3
78- with :
79- java-version : 11
80- distribution : zulu
81- - uses : actions/download-artifact@v3
82- with :
83- name : build_${{ matrix.runner }}
84- - name : untar build
85- run : tar xzvf coatjava.tar.gz
86- - name : run test
87- run : |
88- cd validation/advanced-tests
89- echo "COMMAND: ${{ matrix.cmd }}"
90- ${{ matrix.cmd }}
74+ - uses : actions/checkout@v3
75+ - name : Set up JDK
76+ uses : actions/setup-java@v3
77+ with :
78+ java-version : 11
79+ distribution : zulu
80+ - uses : actions/download-artifact@v3
81+ with :
82+ name : build_${{ matrix.runner }}
83+ - name : untar build
84+ run : tar xzvf coatjava.tar.gz
85+ - name : run test
86+ run : |
87+ cd validation/advanced-tests
88+ echo "COMMAND: ${{ matrix.cmd }}"
89+ ${{ matrix.cmd }}
9190
9291 test_run-groovy :
9392 needs : [ build ]
9493 runs-on : ${{ needs.build.outputs.default_runner }}
9594 steps :
96- - uses : actions/checkout@v3
97- - name : Set up JDK
98- uses : actions/setup-java@v3
99- with :
100- java-version : 11
101- distribution : zulu
102- - name : setup groovy
103- uses : wtfjoke/setup-groovy@v1
104- with :
105- groovy-version : 4.x
106- - uses : actions/download-artifact@v3
107- with :
108- name : build_${{ needs.build.outputs.default_runner }}
109- - name : untar build
110- run : tar xzvf coatjava.tar.gz
111- - name : test run-groovy
112- run : coatjava/bin/run-groovy validation/advanced-tests/test-run-groovy.groovy
95+ - uses : actions/checkout@v3
96+ - name : Set up JDK
97+ uses : actions/setup-java@v3
98+ with :
99+ java-version : 11
100+ distribution : zulu
101+ - name : setup groovy
102+ uses : wtfjoke/setup-groovy@v1
103+ with :
104+ groovy-version : 4.x
105+ - uses : actions/download-artifact@v3
106+ with :
107+ name : build_${{ needs.build.outputs.default_runner }}
108+ - name : untar build
109+ run : tar xzvf coatjava.tar.gz
110+ - name : test run-groovy
111+ run : coatjava/bin/run-groovy validation/advanced-tests/test-run-groovy.groovy
113112
114113 final :
115114 needs :
0 commit comments