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