-
Notifications
You must be signed in to change notification settings - Fork 13
58 lines (55 loc) · 1.86 KB
/
run-experiments-quarkus.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
name: Quarkus
on:
schedule:
# Every Sunday at 6.00pm
- cron: "0 18 * * 0"
workflow_dispatch:
env:
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/quarkusio/quarkus"
GOALS: "install"
ARGS: "-B -Dquickly -T2C"
jobs:
Experiment:
strategy:
fail-fast: false
matrix:
include:
- experimentId: 1
- experimentId: 2
runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.16.0
with:
checkout-fetch-depth: 0
java-version: 17
java-distribution: temurin
maven-version: 3.9.3
- name: Download latest version of the validation scripts
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/download@actions-stable
with:
downloadDevelopmentRelease: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run experiment 1
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-1@actions-stable
env:
DEVELOCITY_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
goals: ${{ env.GOALS }}
args: ${{ env.ARGS }}
develocityUrl: ${{ env.DEVELOCITY_URL }}
failIfNotFullyCacheable: false
if: matrix.experimentId == 1
- name: Run experiment 2
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-2@actions-stable
env:
DEVELOCITY_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}"
with:
gitRepo: ${{ env.GIT_REPO }}
goals: ${{ env.GOALS }}
args: ${{ env.ARGS }}
develocityUrl: ${{ env.DEVELOCITY_URL }}
failIfNotFullyCacheable: false
if: matrix.experimentId == 2