diff options
-rw-r--r-- | .github/workflows/ci-build.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 9ee2601d..354d2d52 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -6,6 +6,9 @@ jobs: build: name: Build and test runs-on: ubuntu-latest + strategy: + matrix: + java-version: [7, 8, 11] steps: - name: Checkout @@ -13,13 +16,15 @@ jobs: with: submodules: true - - name: Setup Java + - name: Setup Java ${{ matrix.java-version }} uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: ${{ matrix.java-version }} - - name: Build with Ant - run: ant compile + - name: Report Java version + run: | + java -version + javac -version - - name: Test with Ant + - name: Build with Ant run: ant test |