GraalVM Native Image builds #89
This file contains 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: GraalVM Native Image builds | |
on: | |
schedule: | |
- cron: '00 10 * * MON' # At 10:00 Monday | |
jobs: | |
build: | |
name: Spring Native on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-14, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '24-ea' | |
distribution: 'graalvm' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
native-image-job-reports: 'true' | |
- name: Build and run a Spring Native app | |
run: | | |
mvn --no-transfer-progress -Pnative native:compile | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: demo-${{ matrix.os }} | |
path: | | |
target/demo |