File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,16 +67,26 @@ jobs:
6767 }
6868
6969 build :
70- name : Build
71- runs-on : ubuntu-latest
70+ name : Build (JDK ${{ matrix.java }} / ${{ matrix.arch }})
71+ runs-on : ${{ matrix.runner }}
72+ strategy :
73+ fail-fast : false
74+ matrix :
75+ include :
76+ - java : ' 8'
77+ runner : ubuntu-latest
78+ arch : x86_64
79+ - java : ' 17'
80+ runner : ubuntu-24.04-arm
81+ arch : aarch64
7282
7383 steps :
7484 - uses : actions/checkout@v4
7585
76- - name : Set up JDK 8
86+ - name : Set up JDK ${{ matrix.java }}
7787 uses : actions/setup-java@v4
7888 with :
79- java-version : ' 8 '
89+ java-version : ${{ matrix.java }}
8090 distribution : ' temurin'
8191
8292 - name : Cache Gradle packages
8595 path : |
8696 ~/.gradle/caches
8797 ~/.gradle/wrapper
88- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
89- restore-keys : ${{ runner.os }}-gradle-
98+ key : ${{ runner.os }}-${{ matrix.arch }}- gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
99+ restore-keys : ${{ runner.os }}-${{ matrix.arch }}- gradle-
90100
91101 - name : Build
92102 run : ./gradlew clean build -x test
You can’t perform that action at this time.
0 commit comments