Skip to content

Commit

Permalink
[CI] test on java 8, 11 and 17
Browse files Browse the repository at this point in the history
  • Loading branch information
marmoure committed Nov 14, 2023
1 parent 6dea832 commit 9ffabb4
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: Build
on: [push, pull_request]

jobs:
build:
runs-on: macos-latest
assemble:
name: Build and Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
jdk: [8,11,17]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean test
java-version: ${{ matrix.jdk }}
- name: Compile
run: mvn clean compile
- name: Test
run: mvn verify

0 comments on commit 9ffabb4

Please sign in to comment.