Bumped version from 5.10.x to 5.11.x #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
checks: write | |
jobs: | |
build: | |
name: "build-${{ matrix.os }}-jdk${{ matrix.jdk }}-jvm${{ matrix.jvm }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
jdk: [17] | |
jvm: [17, 21] | |
runs-on: ${{ matrix.os }} | |
env: | |
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: gradle | |
- name: "Setup JDK ${{ matrix.jdk }}" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: ${{ matrix.jdk }} | |
- name: "Setup JVM ${{ matrix.jvm }}" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: ${{ matrix.jvm }} | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build with Gradle | |
run: ./gradlew build check -x dependencyCheckAggregate -x spotbugsMain -x spotbugsTest -x checkstyleMain -x checkstyleTest -x :management:testing:integration-tests:test -x :dynamic-config:testing:integration-tests:test --no-daemon -PcompileVM=${{ matrix.jdk }} -PtestVM=${{ matrix.jvm }} | |
- name: Upload Test Results | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "junit-build-${{ matrix.os }}-jdk${{ matrix.jdk }}-jvm${{ matrix.jvm }}" | |
retention-days: 5 | |
path: | | |
**/build/reports/ | |
**/build/test-results/ | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
with: | |
report_paths: "**/build/test-results/test/TEST-*.xml" |