forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 15
146 lines (143 loc) · 5.12 KB
/
weekly.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: Weekly CI
on:
push:
paths:
- '.github/workflows/weekly.yml'
- '.github/workflows/base.yml'
- '.github/workflows/base-windows.yml'
pull_request:
paths:
- '.github/workflows/weekly.yml'
- '.github/workflows/base.yml'
- '.github/workflows/base-windows.yml'
schedule:
- cron: '15 0 * * 6'
workflow_dispatch:
# The following aims to reduce CI CPU cycles by:
# 1. Cancelling any previous builds of this PR when pushing new changes to it
# 2. Cancelling any previous builds of a branch when pushing new changes to it in a fork
# 3. Cancelling any pending builds, but not active ones, when pushing to a branch in the main
# repository. This prevents us from constantly cancelling CI runs, while being able to skip
# intermediate builds. E.g., if we perform two pushes the first one will start a CI job and
# the second one will add another one to the queue; if we perform a third push while the
# first CI job is still running the previously queued CI job (for the second push) will be
# cancelled and a new CI job will be queued for the latest (third) push.
concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'graalvm/mandrel' }}
jobs:
####
# Test Mandrel with JDK 22
####
# q-main-mandrel-jdk-22:
# name: "Q main M latest JDK 22"
# uses: graalvm/mandrel/.github/workflows/base.yml@default
# with:
# quarkus-version: "main"
# version: "graal/master"
# jdk: "22/ea"
# issue-number: "580"
# issue-repo: "graalvm/mandrel"
# mandrel-it-issue-number: "208"
# build-stats-tag: "gha-linux-qmain-mlatest-jdk22ea"
# secrets:
# ISSUE_BOT_TOKEN: ${{ secrets.MANDREL_BOT_TOKEN }}
# UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
# q-main-mandrel-jdk-22-win:
# name: "Q main M latest JDK 22 windows"
# uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
# with:
# quarkus-version: "main"
# version: "graal/master"
# jdk: "22/ea"
# issue-number: "579"
# issue-repo: "graalvm/mandrel"
# mandrel-it-issue-number: "207"
# build-stats-tag: "gha-win-qmain-mlatest-jdk22ea"
# secrets:
# ISSUE_BOT_TOKEN: ${{ secrets.MANDREL_BOT_TOKEN }}
# UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
####
# Test Q main and GraalVM CE JDK 21 since Mandrel 21 builds are
# currently not possible (#598)
####
q-main-graal-21-latest:
name: "Q main G 21 latest"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
quarkus-version: "main"
version: "graal/master"
build-type: "graal-source"
jdk: "21/ea"
build-stats-tag: "gha-linux-graal-qmain-glatest-jdk21ea"
secrets:
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
####
# Test Q main and Mandrel 23.1 JDK 21
####
q-main-mandrel-23_1:
name: "Q main M 23.1 JDK 21"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
quarkus-version: "main"
version: "mandrel/23.1"
jdk: "21/ea"
issue-number: "563"
issue-repo: "graalvm/mandrel"
mandrel-it-issue-number: "198"
build-stats-tag: "gha-linux-qmain-m23_1-jdk21ea"
mandrel-packaging-version: "23.1"
secrets:
ISSUE_BOT_TOKEN: ${{ secrets.MANDREL_BOT_TOKEN }}
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
q-main-mandrel-23_1-win:
name: "Q main M 23.1 windows"
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
with:
quarkus-version: "main"
version: "mandrel/23.1"
jdk: "21/ea"
issue-number: "562"
issue-repo: "graalvm/mandrel"
mandrel-it-issue-number: "199"
build-stats-tag: "gha-win-qmain-m23_1-jdk21ea"
mandrel-packaging-version: "23.1"
secrets:
ISSUE_BOT_TOKEN: ${{ secrets.MANDREL_BOT_TOKEN }}
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
####
# Test Q main and Mandrel 23.0 JDK 17
####
q-main-mandrel-23_0:
name: "Q main M 23.0 JDK 17"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
quarkus-version: "main"
build-type: "mandrel-source-nolocalmvn"
version: "mandrel/23.0"
jdk: "17/ea"
mandrel-packaging-version: "23.0"
####
# Test Quarkus 3.2 with Mandrel 23.0 JDK 17
####
q-3_2-mandrel-23_0:
name: "Q 3.2 M 23.0 JDK 17"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
quarkus-version: "3.2"
build-type: "mandrel-source-nolocalmvn"
version: "mandrel/23.0"
jdk: "17/ea"
mandrel-packaging-version: "23.0"
####
# Test Quarkus 2.13 with Mandrel 22.3 JDK 17 ####
q-2_13-mandrel-22_3:
name: "Q 2.13 M 22.3 image"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
# Use a tag for 2.13 due to https://github.com/graalvm/mandrel/issues/501
quarkus-version: "2.13.8.Final"
build-type: "mandrel-source-nolocalmvn"
version: "mandrel/22.3"
jdk: "17/ea"
mandrel-packaging-version: "22.3"