-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 802 Bytes
/
java-ci.yml
File metadata and controls
32 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Java CI
permissions:
contents: read
on:
push:
branches: [ '*', '*/*' ]
jobs:
build:
name: Build for GraalVM (OpenJDK ${{ matrix.javaver }}) on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
javaver: [21, 23, 24, 25]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v6
- name: GitHub Action for GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.javaver }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- run: docker compose -f env/standalone-docker/docker-compose.yml up -d
- name: Build and test
run: mvn package
- name: Native test
run: mvn -Pnative test