|
| 1 | +name: Mandrel-Quarkus tests |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + paths-ignore: |
| 6 | + - '.github/workflows/main.yml' |
| 7 | + - '.github/workflows/quarkus.yml' |
| 8 | + - '**.md' |
| 9 | + pull_request: |
| 10 | + paths-ignore: |
| 11 | + - '.github/workflows/main.yml' |
| 12 | + - '.github/workflows/quarkus.yml' |
| 13 | + - '**.md' |
| 14 | + workflow_dispatch: |
| 15 | + |
| 16 | +# The following aims to reduce CI CPU cycles by: |
| 17 | +# 1. Cancelling any previous builds of this PR when pushing new changes to it |
| 18 | +# 2. Cancelling any previous builds of a branch when pushing new changes to it in a fork |
| 19 | +# 3. Cancelling any pending builds, but not active ones, when pushing to a branch in the main |
| 20 | +# repository. This prevents us from constantly cancelling CI runs, while being able to skip |
| 21 | +# intermediate builds. E.g., if we perform two pushes the first one will start a CI job and |
| 22 | +# the second one will add another one to the queue; if we perform a third push while the |
| 23 | +# first CI job is still running the previously queued CI job (for the second push) will be |
| 24 | +# cancelled and a new CI job will be queued for the latest (third) push. |
| 25 | +concurrency: |
| 26 | + group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}" |
| 27 | + cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'graalvm/mandrel' }} |
| 28 | + |
| 29 | +jobs: |
| 30 | + q-main-ea: |
| 31 | + name: "Q main M 22.2 EA" |
| 32 | + uses: graalvm/mandrel/.github/workflows/base.yml@default |
| 33 | + with: |
| 34 | + quarkus-version: "main" |
| 35 | + repo: ${{ github.repository }} |
| 36 | + version: ${{ github.ref }} |
| 37 | + mandrel-packaging-version: "22.2" |
| 38 | + jdk: "11/ea" |
| 39 | + q-main-ea-win: |
| 40 | + name: "Q main M 22.2 windows EA" |
| 41 | + uses: graalvm/mandrel/.github/workflows/base-windows.yml@default |
| 42 | + with: |
| 43 | + quarkus-version: "main" |
| 44 | + repo: ${{ github.repository }} |
| 45 | + version: ${{ github.ref }} |
| 46 | + mandrel-packaging-version: "22.2" |
| 47 | + jdk: "11/ea" |
| 48 | + q-main-ea-17: |
| 49 | + name: "Q main M 17 22.2 EA" |
| 50 | + uses: graalvm/mandrel/.github/workflows/base.yml@default |
| 51 | + with: |
| 52 | + quarkus-version: "main" |
| 53 | + repo: ${{ github.repository }} |
| 54 | + version: ${{ github.ref }} |
| 55 | + mandrel-packaging-version: "22.2" |
| 56 | + jdk: "17/ea" |
| 57 | + q-main-ea-17-win: |
| 58 | + name: "Q main M 17 22.2 windows EA" |
| 59 | + uses: graalvm/mandrel/.github/workflows/base-windows.yml@default |
| 60 | + with: |
| 61 | + quarkus-version: "main" |
| 62 | + repo: ${{ github.repository }} |
| 63 | + version: ${{ github.ref }} |
| 64 | + mandrel-packaging-version: "22.2" |
| 65 | + jdk: "17/ea" |
| 66 | + q-latest-ea: |
| 67 | + name: "Q latest M 22.2 EA" |
| 68 | + uses: graalvm/mandrel/.github/workflows/base.yml@default |
| 69 | + with: |
| 70 | + quarkus-version: "latest" |
| 71 | + repo: ${{ github.repository }} |
| 72 | + version: ${{ github.ref }} |
| 73 | + mandrel-packaging-version: "22.2" |
| 74 | + jdk: "11/ea" |
| 75 | + q-latest-ea-win: |
| 76 | + name: "Q latest M 22.2 windows EA" |
| 77 | + uses: graalvm/mandrel/.github/workflows/base-windows.yml@default |
| 78 | + with: |
| 79 | + quarkus-version: "latest" |
| 80 | + repo: ${{ github.repository }} |
| 81 | + version: ${{ github.ref }} |
| 82 | + mandrel-packaging-version: "22.2" |
| 83 | + jdk: "11/ea" |
| 84 | + # q-main-ga: |
| 85 | + # name: "Q main M 22.2" |
| 86 | + # uses: graalvm/mandrel/.github/workflows/base.yml@default |
| 87 | + # with: |
| 88 | + # quarkus-version: "main" |
| 89 | + # repo: ${{ github.repository }} |
| 90 | + # version: ${{ github.ref }} |
| 91 | + # mandrel-packaging-version: "22.2" |
| 92 | + # jdk: "11/ga" |
| 93 | + # q-main-ga-win: |
| 94 | + # name: "Q main M 22.2 windows" |
| 95 | + # uses: graalvm/mandrel/.github/workflows/base-windows.yml@default |
| 96 | + # with: |
| 97 | + # quarkus-version: "main" |
| 98 | + # repo: ${{ github.repository }} |
| 99 | + # version: ${{ github.ref }} |
| 100 | + # mandrel-packaging-version: "22.2" |
| 101 | + # jdk: "11/ga" |
| 102 | + # q-latest-ga: |
| 103 | + # name: "Q latest M 22.2" |
| 104 | + # uses: graalvm/mandrel/.github/workflows/base.yml@default |
| 105 | + # with: |
| 106 | + # quarkus-version: "latest" |
| 107 | + # repo: ${{ github.repository }} |
| 108 | + # version: ${{ github.ref }} |
| 109 | + # mandrel-packaging-version: "22.2" |
| 110 | + # jdk: "11/ga" |
| 111 | + # q-latest-ga-win: |
| 112 | + # name: "Q latest M 22.2 windows" |
| 113 | + # uses: graalvm/mandrel/.github/workflows/base-windows.yml@default |
| 114 | + # with: |
| 115 | + # quarkus-version: "latest" |
| 116 | + # repo: ${{ github.repository }} |
| 117 | + # version: ${{ github.ref }} |
| 118 | + # mandrel-packaging-version: "22.2" |
| 119 | + # jdk: "11/ga" |
0 commit comments