Skip to content

[bugfix] Fix an issue in the XQuery Inspection Module whereby QName#t… #226

[bugfix] Fix an issue in the XQuery Inspection Module whereby QName#t…

[bugfix] Fix an issue in the XQuery Inspection Module whereby QName#t… #226

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: (JDK ${{ matrix.jdk }} / ${{ matrix.os }}) Build
env:
MAVEN_OPTS: -XX:+IgnoreUnrecognizedVMOptions --illegal-access=debug -XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=./
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
jdk: ['8', '11']
include:
- os: ubuntu-latest
jdk: '16'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
# NOTE(AR) The `-T 2C` enables multi-threaded builds below, faster, but may need to be disabled when diagnosing problems
# NOTE(DP): Reuse of build artefacts across workflows to (hopefully) limit network traffic
- name: Maven Build
run: mvn -V -B -q -T 2C -DskipTests=true "-Dmaven.javadoc.skip=true" install
continue-on-error: ${{ matrix.jdk == '16' }}