Skip to content

Commit

Permalink
Update GitHub Actions for JDK 18 GA, JDK 19 EA (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbwiddis authored Mar 24, 2022
1 parent 787e4bf commit 3a4427e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
# Full CI matrix on all pushes to master branch, and all PRs
name: Java CI

on:
on:
workflow_dispatch:
pull_request:
push:
branches:
- master

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11, 17, 18-ea]
java: [8, 11, 17, 18, 19-ea]
os: [ubuntu-latest, macos-latest]
# Run all tests even if one fails
fail-fast: false
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
- name: Linux requirements
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Linux requirements
if: contains(matrix.os, 'ubuntu')
run: sudo apt-get -y install texinfo
- name: macOS requirements
Expand All @@ -42,4 +43,4 @@ jobs:
- name: Build with Ant
run: |
ant test
ant test-platform
ant test-platform

0 comments on commit 3a4427e

Please sign in to comment.