Skip to content

Commit 7c4eb5b

Browse files
authored
Merge pull request #173 from dmlloyd/ci
Introduce CI
2 parents 876b503 + db045b6 commit 7c4eb5b

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/build.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: JBoss Parent CI Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- '.gitignore'
9+
- 'LICENSE'
10+
- 'NOTICE'
11+
- 'README*'
12+
pull_request:
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
name: build
18+
19+
steps:
20+
- name: Check out project
21+
uses: actions/checkout@v2
22+
with:
23+
path: jboss-parent-pom
24+
25+
- name: Set up the JDKs
26+
uses: actions/setup-java@v3
27+
with:
28+
distribution: temurin
29+
architecture: x64
30+
java-version: |
31+
11
32+
17
33+
34+
- name: Install the parent POM snapshot
35+
run: |
36+
cd jboss-parent-pom
37+
mvn -B -ntp formatter:validate install
38+
39+
- name: Check out WildFly Common
40+
uses: actions/checkout@v2
41+
with:
42+
repository: wildfly/wildfly-common
43+
path: wildfly-common
44+
45+
- name: Test WildFly Common with updated parent
46+
run: |
47+
cd wildfly-common
48+
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
49+
git diff pom.xml
50+
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

0 commit comments

Comments
 (0)