Skip to content

Update Readmes to remove GU mentions and GraalVM JDK Downloader. #82

Update Readmes to remove GU mentions and GraalVM JDK Downloader.

Update Readmes to remove GU mentions and GraalVM JDK Downloader. #82

name: native-image-logging-examples
on:
push:
paths:
- 'native-image-logging-examples/**'
- '.github/workflows/native-image-logging-examples.yml'
pull_request:
paths:
- 'native-image-logging-examples/**'
- '.github/workflows/native-image-logging-examples.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-image-logging-examples'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java-version: ['17', 'dev']
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Run 'native-image-logging-examples'
run: |
cd native-image-logging-examples
javac LoggerBuildTimeInit.java
native-image LoggerBuildTimeInit --initialize-at-build-time=LoggerBuildTimeInit
./loggerbuildtimeinit
javac LoggerRunTimeInit.java
native-image LoggerRunTimeInit -H:IncludeResources="logging.properties"
./loggerruntimeinit