Skip to content

Commit 0f48fc0

Browse files
committed
Extend musl test matrix.
1 parent 3716035 commit 0f48fc0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,18 +372,22 @@ jobs:
372372
./helloworld
373373
374374
test-action-native-image-musl:
375-
name: native-image-musl on ubuntu-latest
376-
runs-on: ubuntu-latest
375+
name: native-image-musl + JDK${{ matrix.java-version }} on ${{ matrix.os }}
376+
runs-on: ${{ matrix.os }}
377377
permissions:
378378
contents: read
379379
pull-requests: write # for `native-image-pr-reports` option
380+
strategy:
381+
matrix:
382+
java-version: ['21', '25']
383+
os: [ubuntu-latest]
380384
steps:
381385
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
382386
- name: Run setup-graalvm action
383387
uses: ./
384388
with:
385-
java-version: 'dev'
386-
distribution: 'graalvm-community'
389+
java-version: ${{ matrix.java-version }}
390+
distribution: 'graalvm'
387391
native-image-musl: 'true'
388392
native-image-job-reports: 'true'
389393
native-image-pr-reports: 'true'
@@ -392,7 +396,7 @@ jobs:
392396
run: |
393397
echo 'public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }' > HelloWorld.java
394398
javac HelloWorld.java
395-
native-image --static --libc=musl HelloWorld
399+
native-image --static --libc=musl --gc=G1 HelloWorld
396400
./helloworld
397401
398402
test-action-extensive:

0 commit comments

Comments
 (0)