forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 15
47 lines (44 loc) · 1.83 KB
/
mandrel.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
name: Mandrel-Quarkus tests
on:
push:
paths-ignore:
- '.github/workflows/main.yml'
- '.github/workflows/quarkus.yml'
- '**.md'
pull_request:
paths-ignore:
- '.github/workflows/main.yml'
- '.github/workflows/quarkus.yml'
- '**.md'
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:
q-main-ea:
name: "Q main M 23.1 EA"
uses: graalvm/mandrel/.github/workflows/base.yml@default
with:
quarkus-version: "main"
repo: ${{ github.repository }}
version: ${{ github.ref }}
mandrel-packaging-version: "23.1"
jdk: "21/ea"
q-main-ea-win:
name: "Q main M 23.1 windows EA"
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
with:
quarkus-version: "main"
repo: ${{ github.repository }}
version: ${{ github.ref }}
mandrel-packaging-version: "23.1"
jdk: "21/ea"