-
Notifications
You must be signed in to change notification settings - Fork 19
91 lines (78 loc) · 2.27 KB
/
build.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
name: SmallRye Build
on:
push:
branches:
- main
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v4
name: checkout
with:
path: smallrye-parent
- uses: actions/setup-java@v4
name: set up jdk versions
with:
distribution: temurin
architecture: x64
java-version: |
11
17
21
- name: Maven
run: |
cd smallrye-parent
mvn -B -ntp formatter:validate install
- uses: actions/checkout@v4
name: checkout smallrye-config
with:
repository: smallrye/smallrye-config
path: smallrye-config
- name: test with smallrye-config
run: |
cd smallrye-config
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- uses: actions/checkout@v4
name: checkout smallrye-common
with:
repository: smallrye/smallrye-common
path: smallrye-common
- name: test with smallrye-common
run: |
cd smallrye-common
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- uses: actions/checkout@v4
name: checkout jandex
with:
repository: smallrye/jandex
path: jandex
- name: test with jandex
run: |
cd jandex
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- uses: actions/checkout@v4
name: checkout smallrye-mutiny
with:
repository: smallrye/smallrye-mutiny
path: smallrye-mutiny
- name: test with smallrye-mutiny
run: |
cd smallrye-mutiny
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}