-
-
Notifications
You must be signed in to change notification settings - Fork 18
112 lines (105 loc) · 2.83 KB
/
ci.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
name: CI
on:
push:
branches-ignore:
- "dependabot/**"
paths-ignore:
- 'README.md'
pull_request:
paths-ignore:
- 'README.md'
env:
CI: true
jobs:
test:
name: JDK ${{matrix.java-version}} JVM Tests
strategy:
matrix:
java-version: [ 17 ]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.java-version }}
cache: maven
- name: Maven tests
run: mvn verify
quarkus-extension:
needs: [ test ]
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
cache: maven
- name: Maven tests
run: mvn -Pnative install
- name: Maven IT tests
run: mvn -Pnative-image install -f quarkus-extension/integration-tests/
quarkus-supported-v:
needs: [ quarkus-extension ]
runs-on: ubuntu-latest
strategy:
matrix:
quarkus-version: [ 3.0.1.Final, 3.2.2.Final ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Maven tests
run: mvn -Pnative install
- name: Maven IT tests
run: mvn -Pnative-image install -f quarkus-extension/integration-tests/ -Dquarkus.version=${{ matrix.quarkus-version }}
springboot-extension:
needs: [ test ]
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
cache: maven
- name: Maven tests
run: mvn install -DskipTests
- name: Maven IT tests
run: mvn install -f spring-boot-extension/integration-tests/
springboot-supported-v:
needs: [ springboot-extension ]
runs-on: ubuntu-latest
strategy:
matrix:
springboot-version: [ 3.0.0, 3.1.2 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Maven tests
run: mvn install -DskipTests
- name: Maven IT tests
run: mvn install -f spring-boot-extension/integration-tests/ -Dspringboot.version=${{ matrix.springboot-version }}