|
11 | 11 |
|
12 | 12 | jobs: |
13 | 13 | tests: |
14 | | - name: Java ${{ matrix.java-version }} ${{ matrix.os }} |
| 14 | + name: Java ${{ matrix.java-version }} ${{ matrix.os }} ${{ matrix.dockcross-only }} |
15 | 15 | runs-on: ${{ matrix.os }} |
16 | 16 |
|
17 | 17 | strategy: |
18 | 18 | matrix: |
19 | 19 | os: [ubuntu-latest] |
20 | 20 | java-distribution: [adopt] |
21 | 21 | java-version: [8, 11, 17, 21, 22] |
| 22 | + dockcross-only: ["android-arm", "android-arm64", "linux-arm64", "linux-armv5", "linux-armv7", "linux-s390x", "linux-ppc64le", "linux-x64", "linux-x86", "windows-static-x64", "windows-static-x86"] |
22 | 23 |
|
23 | 24 | steps: |
24 | 25 | |
|
43 | 44 | run: mvn com.spotify.fmt:fmt-maven-plugin:check |
44 | 45 |
|
45 | 46 | - name: Tests |
46 | | - run: mvn "-Dh3.system.prune=true" -B -V clean test site |
| 47 | + run: mvn "-Dh3.system.prune=true" "-Dh3.dockcross.only=${{ matrix.dockcross-only }}" -B -V clean test site |
47 | 48 |
|
48 | 49 | - name: Format check for C |
49 | 50 | run: git diff --exit-code |
|
52 | 53 | name: Upload artifacts |
53 | 54 | if: ${{ matrix.java-version == 8 }} |
54 | 55 | with: |
55 | | - name: docker-built-shared-objects |
| 56 | + name: docker-built-shared-objects-${{ matrix.dockcross-only }} |
56 | 57 | path: | |
57 | 58 | src/main/resources/*/*.so |
58 | 59 | src/main/resources/*/*.dll |
|
67 | 68 | os: [ubuntu-latest] |
68 | 69 | java-distribution: [adopt] |
69 | 70 | java-version: [21] |
70 | | - dockcross-tag: ["20230116-670f7f7", "20240418-88c04a4", "latest"] |
| 71 | + dockcross-tag: ["latest"] |
71 | 72 | dockcross-only: ["android-arm", "android-arm64", "linux-arm64", "linux-armv5", "linux-armv7", "linux-s390x", "linux-ppc64le", "linux-x64", "linux-x86", "windows-static-x64", "windows-static-x86"] |
72 | 73 |
|
73 | 74 | steps: |
@@ -201,7 +202,8 @@ jobs: |
201 | 202 | - name: Download Docker binaries |
202 | 203 | |
203 | 204 | with: |
204 | | - name: docker-built-shared-objects |
| 205 | + pattern: docker-built-shared-objects-* |
| 206 | + merge-multiple: true |
205 | 207 | path: src/main/resources/ |
206 | 208 |
|
207 | 209 | - name: Download Mac binaries |
|
0 commit comments