Repository navigation
cicd: added target JDK versions 24, 25 used by CI (#21) #47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Java CI | |
| 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, 22, 23, 24, 25] | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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' | |
| - name: Build and test | |
| run: mvn package | |
| - name: Native test | |
| run: mvn -Pnative test |