Skip to content

native-image/containerize/spring-boot-microservice-jibber #13

native-image/containerize/spring-boot-microservice-jibber

native-image/containerize/spring-boot-microservice-jibber #13

name: native-image/containerize/spring-boot-microservice-jibber
on:
push:
paths:
- 'native-image/containerize/spring-boot-microservice-jibber/**'
- '.github/workflows/containerize-spring-boot-jibber.yml'
pull_request:
paths:
- 'native-image/containerize/spring-boot-microservice-jibber/**'
- '.github/workflows/containerize-spring-boot-jibber.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-image/containerize/spring-boot-microservice-jibber'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
native-image-job-reports: 'true'
- name: Run 'native-image/containerize/spring-boot-microservice-jibber'
run: |
cd native-image/containerize/spring-boot-microservice-jibber
mvn --no-transfer-progress package
mvn --no-transfer-progress native:compile -Pnative
./target/benchmark-jibber &
sleep 5
curl http://localhost:8080/jibber