From 8fdf34160c17c70674ef3b8ce79117e1924cf414 Mon Sep 17 00:00:00 2001 From: stephengold Date: Wed, 8 Jul 2026 11:40:59 -0700 Subject: [PATCH] workflows: add a job to build and test on macOS --- .github/workflows/maven.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ed84119..e14a565 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,10 +15,26 @@ on: branches: [ "Overhaul" ] jobs: - build: - + Linux: runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - name: Set up JDK 26 + uses: actions/setup-java@v5 + with: + java-version: '26' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + - name: Execute the HelloWorld app + run: | + $JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \ + -cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \ + volucris.bindings.jolt.HelloWorld + macOS: + runs-on: macos-26 steps: - uses: actions/checkout@v7 - name: Set up JDK 26