Skip to content

build(deps): bump actions/setup-java from 4.5.0 to 4.6.0 #1133

build(deps): bump actions/setup-java from 4.5.0 to 4.6.0

build(deps): bump actions/setup-java from 4.5.0 to 4.6.0 #1133

Workflow file for this run

name: JMurmel Native Image builds
on:
push:
paths-ignore:
- CHANGES
- Dockerfile
- Dockerfile.distroless
- "**.md"
- "**.txt"
- "**.html"
- "**.lisp"
- "**.completions"
- "scribbles/**"
env:
JAVA_VERSION: 23
permissions:
contents: read
jobs:
build:
name: JMurmel Native on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: graalvm/setup-graalvm@4a200f28cd70d1940b5e33bd00830b7dc71a7e2b # v1
with:
distribution: 'graalvm'
java-version: ${{ env.JAVA_VERSION }}
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Restore Maven repo
id: restore-maven
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-graalvm-maven-${{ hashFiles('**/pom.xml') }}
- name: Build JMurmel
run: |
mvn -V -B clean package -pl lambda "-Djavac.target=${{ env.JAVA_VERSION }}" -DskipTests
mvn -V -B clean package -f graalvm/pom.xml "-Djavac.target=${{ env.JAVA_VERSION }}" -DskipTests
- name: Run native image Windows
if: runner.os == 'Windows'
run: |
copy samples.murmel-mlib\mlib.lisp .
native-image --no-fallback --initialize-at-build-time=io.github.jmurmel --initialize-at-run-time=io.github.jmurmel.InstallDir -H:IncludeResources="META-INF/.*" -H:ReflectionConfigurationFiles=./graalvm/src/main/graalvm/reflectconfig -H:DynamicProxyConfigurationFiles=./graalvm/src/main/graalvm/proxyconfig -H:SerializationConfigurationFiles=./graalvm/src/main/graalvm/serializationconfig -cp ./graalvm/target/unsupported.jar -jar ./lambda/target/jmurmel.jar
./jmurmel --version
- name: Run native image Linux
if: runner.os == 'Linux'
run: |
cp samples.murmel-mlib/mlib.lisp .
native-image --gc=G1 --no-fallback --initialize-at-build-time=io.github.jmurmel --initialize-at-run-time=io.github.jmurmel.InstallDir -H:IncludeResources="META-INF/.*" -H:ReflectionConfigurationFiles=./graalvm/src/main/graalvm/reflectconfig -H:DynamicProxyConfigurationFiles=./graalvm/src/main/graalvm/proxyconfig -H:SerializationConfigurationFiles=./graalvm/src/main/graalvm/serializationconfig -cp ./graalvm/target/unsupported.jar -jar ./lambda/target/jmurmel.jar
./jmurmel --version
- name: Save Maven repo
id: cache-maven
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.m2/repository
key: ${{ steps.restore-maven.outputs.cache-primary-key }}
- name: Upload binaries, mlib and docs
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: jmurmel-native-${{ runner.os }}-${{ runner.arch }}
path: |
jmurmel
jmurmel.exe
mlib.lisp
murmel-langref.md
mlib.md
murmel-langref.html
mlib.html
LICENSE