Skip to content

Commit

Permalink
Add Quarkus workflow (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
jprinet authored Feb 2, 2024
1 parent 1337f63 commit 0455a2d
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/run-experiments-quarkus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Quarkus

on:
workflow_dispatch:

env:
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/quarkusio/quarkus"
GOALS: "install"
ARGS: "-B -Dquickly -T2C"

jobs:
Experiment:

strategy:
matrix:
include:
- experimentId: 1
- experimentId: 2

runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
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:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run experiment 1
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-1@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
goals: ${{ env.GOALS }}
args: ${{ env.ARGS }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_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:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
goals: ${{ env.GOALS }}
args: ${{ env.ARGS }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: false
if: matrix.experimentId == 2

0 comments on commit 0455a2d

Please sign in to comment.