Skip to content

Commit

Permalink
Update QualityOutreach.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras authored Apr 1, 2021
1 parent b82d068 commit f826f6e
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions .github/workflows/QualityOutreach.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,46 @@ on: workflow_dispatch
jobs:

build:

name: Quality Outreach Java ${{ matrix.java-version }}

name: 'Java ${{ matrix.java }} on ${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: [14, 15, 16]

os: [ ubuntu-latest ]
java: [ 17-ea ] # , 16, 15, 14 ]
runs-on: ${{ matrix.os }}

env:
JAVA_VERSION: ${{ matrix.java-version }}

steps:
- name: Git Checkout
- name: 'Check out repository'
uses: actions/checkout@v2
- name: Download Java version ${{ matrix.java-version }}
uses: sormuras/download-jdk@v1
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Quality Outreach with Java ${{ matrix.java-version }}
run: mvn verify
java-version: ${{ matrix.java }}
- name: 'Build with Maven'
run: mvn --batch-mode --no-transfer-progress verify

projects:

name: Quality Outreach Java ${{ matrix.project }}

name: 'Project ${{ matrix.project }} on ${{ matrix.os }}'
needs: [ build ]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ] #[ macos-latest, windows-latest ]
os: [ ubuntu-latest ] # , macos-latest, windows-latest ]
project: [ Loom, Panama, Valhalla ]

exclude:
- { os: macos-latest, project: Valhalla } # missing 'libjli.dylib'
runs-on: ${{ matrix.os }}

steps:
- name: Git Checkout
- name: 'Check out repository'
uses: actions/checkout@v2
- name: Download Java project ${{ matrix.project }}
uses: sormuras/download-jdk@v1
- name: 'Download JDK'
id: download-jdk
uses: sormuras/download-jdk@v1
with:
feature: ${{ matrix.project }}
- name: Quality Outreach with Java ${{ matrix.project }}
run: mvn verify
- name: 'Set up JDK, Project ${{ matrix.project }}'
uses: actions/setup-java@v1
with:
java-version: ${{ steps.download-jdk.outputs.version }}
jdkFile: "${{ steps.download-jdk.outputs.file }}"
- name: 'Build with Maven'
run: mvn --batch-mode --no-transfer-progress verify

0 comments on commit f826f6e

Please sign in to comment.