File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,18 +136,28 @@ jobs:
136136 plugins/build/reports/checkstyle/
137137
138138 test :
139- name : Unit Tests
140- runs-on : ubuntu-latest
139+ name : Unit Tests (JDK ${{ matrix.java }} / ${{ matrix.arch }})
140+ runs-on : ${{ matrix.runner }}
141141 needs : build
142142 timeout-minutes : 60
143+ strategy :
144+ fail-fast : false
145+ matrix :
146+ include :
147+ - java : ' 8'
148+ runner : ubuntu-latest
149+ arch : x86_64
150+ - java : ' 17'
151+ runner : ubuntu-24.04-arm
152+ arch : aarch64
143153
144154 steps :
145155 - uses : actions/checkout@v4
146156
147- - name : Set up JDK 8
157+ - name : Set up JDK ${{ matrix.java }}
148158 uses : actions/setup-java@v4
149159 with :
150- java-version : ' 8 '
160+ java-version : ${{ matrix.java }}
151161 distribution : ' temurin'
152162
153163 - name : Cache Gradle packages
@@ -156,8 +166,8 @@ jobs:
156166 path : |
157167 ~/.gradle/caches
158168 ~/.gradle/wrapper
159- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
160- restore-keys : ${{ runner.os }}-gradle-
169+ key : ${{ runner.os }}-${{ matrix.arch }}- gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
170+ restore-keys : ${{ runner.os }}-${{ matrix.arch }}- gradle-
161171
162172 - name : Run tests
163173 run : ./gradlew test
@@ -166,6 +176,6 @@ jobs:
166176 if : failure()
167177 uses : actions/upload-artifact@v4
168178 with :
169- name : test-reports
179+ name : test-reports-${{ matrix.arch }}
170180 path : |
171181 **/build/reports/tests/
You can’t perform that action at this time.
0 commit comments