Skip to content

(#220) Switch to lookup tables in hotspots isNameChar()/isNameStartChar() #170

(#220) Switch to lookup tables in hotspots isNameChar()/isNameStartChar()

(#220) Switch to lookup tables in hotspots isNameChar()/isNameStartChar() #170

Workflow file for this run

name: Build
on:
push:
branches:
- master
- "6.7"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "6.7"
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# With Woodstox 7.0 can finally test versions past 11
java_version: ['8', '11', '17', '21']
os: ['ubuntu-20.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up JDK
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
server-id: sonatype-nexus-snapshots
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Build
run: ./mvnw -B -q -ff -ntp verify
- name: Generate code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
run: ./mvnw -B -ff -ntp test
- name: Publish code coverage
if: github.event_name != 'pull_request' && matrix.java_version == '8'
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/site/jacoco/jacoco.xml
flags: unittests