-
Notifications
You must be signed in to change notification settings - Fork 3
90 lines (87 loc) · 3.07 KB
/
builder_image_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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'