Fix JFRTest.jfrOptionsSmokeTest on GraalVM for JDK 24 (#298) #669
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: Mandrel Builder Image | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- 'LICENSE' | |
- '**.md' | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
paths-ignore: | |
- 'LICENSE' | |
- '**.md' | |
env: | |
LANG: en_US.UTF-8 | |
FAIL_ON_PERF_REGRESSION: false | |
CMD_LONG_TIMEOUT_MS: 180000 | |
LONG_GOTO_URL_TIMEOUT_MS: 200000 | |
jobs: | |
local-run: | |
name: ${{ matrix.mandrel-builder-image }} - ${{ matrix.os }} - ${{ matrix.quarkus-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-20.04 ] | |
include: | |
- quarkus-version: '2.13.3.Final' | |
mandrel-builder-image: '21.3-java11' | |
- quarkus-version: '2.13.3.Final' | |
mandrel-builder-image: '21.3-java17' | |
- quarkus-version: '2.13.9.Final' | |
mandrel-builder-image: '22.3-java17' | |
- quarkus-version: '2.16.12.Final' | |
mandrel-builder-image: '22.3-java17' | |
- quarkus-version: '3.2.12.Final' | |
mandrel-builder-image: 'jdk-17' | |
- quarkus-version: '3.5.3' | |
mandrel-builder-image: 'jdk-21' | |
- quarkus-version: '3.6.0' | |
mandrel-builder-image: 'jdk-21' | |
- quarkus-version: '3.8.4' | |
mandrel-builder-image: 'jdk-21' | |
- quarkus-version: '3.9.5' | |
mandrel-builder-image: 'jdk-21' | |
- quarkus-version: '3.9.5' | |
mandrel-builder-image: 'jdk-22' | |
- quarkus-version: '3.10.0' | |
mandrel-builder-image: 'jdk-22' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
path: ts | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ matrix.quarkus-version }}-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ matrix.quarkus-version }}-${{ matrix.os }}- | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- name: Linux test | |
if: startsWith(matrix.os, 'ubuntu') | |
timeout-minutes: 55 | |
env: | |
MAVEN_OPTS: -Xmx1g | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y gdb | |
pushd ts | |
mkdir -p ~/.m2/ | |
cp .github/mvn-settings.xml ~/.m2/settings.xml | |
mvn clean verify -Ptestsuite-builder-image -Dquarkus.version=${{ matrix.quarkus-version }} -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:${{ matrix.mandrel-builder-image }} | |
shell: bash | |
- name: Prepare failure archive (if maven failed) | |
if: failure() | |
run: tar czvf test-reports-mandrel-it.tgz ${{ github.workspace }}/ts/testsuite/target/archived-logs | |
- name: Upload failure Archive (if maven failed) | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: reports-${{ matrix.mandrel-builder-image }}-${{ matrix.quarkus-version }}-${{ matrix.os }} | |
path: 'test-reports-mandrel-it.tgz' |