diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..ddeff7e --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,25 @@ +name: Maven JVM Build + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macOS-12, windows-latest] + java: ['11', '17'] + distribution: ['temurin'] + fail-fast: false + name: ${{ matrix.os }} JDK ${{ matrix.distribution }} ${{ matrix.java }} + steps: + - name: Git checkout + uses: actions/checkout@v3 + - name: Set up JDK + id: setupjdk + uses: actions/setup-java@v3 + with: + distribution: ${{ matrix.distribution }} + java-version: ${{ matrix.java }} + - name: Build with Maven + run: mvn verify