-
Notifications
You must be signed in to change notification settings - Fork 1
136 lines (123 loc) · 5.24 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: JBoss Logging Development Tools CI Build
on:
push:
branches:
- "*"
paths:
- '**/pom.xml'
- 'ide-config/**'
- '.github/workflows/**'
pull_request:
paths:
- '**/pom.xml'
- 'ide-config/**'
- '.github/workflows/**'
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- name: Check out project
uses: actions/checkout@v4
with:
path: logging-dev-tools
- name: Set up the JDKs
uses: actions/setup-java@v4
with:
distribution: temurin
architecture: x64
java-version: |
11
17
- name: Install the snapshot
run: |
cd logging-dev-tools
mvn -B -ntp install
- name: Check out JBoss Logging
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logging
path: jboss-logging
- name: Test JBoss Logging with updated parent
run: |
cd jboss-logging
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Logging Tools
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logging-tools
path: jboss-logging-tools
- name: Test JBoss Logging with updated parent
run: |
cd jboss-logging-tools
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Log Manager
uses: actions/checkout@v4
with:
repository: jboss-logging/jboss-logmanager
path: jboss-logmanager
- name: Test JBoss Log Manager with updated parent
run: |
cd jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Log Manager log4j2
uses: actions/checkout@v4
with:
repository: jboss-logging/log4j2-jboss-logmanager
path: log4j2-jboss-logmanager
- name: Test JBoss Log Manager log4j2 with updated parent
run: |
cd log4j2-jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Log Manager slf4j
uses: actions/checkout@v4
with:
repository: jboss-logging/slf4j-jboss-logmanager
path: slf4j-jboss-logmanager
- name: Test JBoss Log Manager slf4j with updated parent
run: |
cd slf4j-jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Logging slf4j
uses: actions/checkout@v4
with:
repository: jboss-logging/slf4j-jboss-logging
path: slf4j-jboss-logging
- name: Test JBoss Logging slf4j with updated parent
run: |
cd slf4j-jboss-logging
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Logging - Commons Logging
uses: actions/checkout@v4
with:
repository: jboss-logging/commons-logging-jboss-logging
path: commons-logging-jboss-logging
- name: Test JBoss Logging - Commons Logging with updated parent
run: |
cd commons-logging-jboss-logging
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out JBoss Logging - Commons Log Manager
uses: actions/checkout@v4
with:
repository: jboss-logging/commons-logging-jboss-logmanager
path: commons-logging-jboss-logmanager
- name: Test JBoss Logging - Commons Log Manager with updated parent
run: |
cd commons-logging-jboss-logmanager
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}