Skip to content

Commit 6e329ad

Browse files
Merge pull request #11 from SoftlySplinter/main
Use GitHub Actions for CI builds
2 parents a61237d + f761be7 commit 6e329ad

File tree

15 files changed

+132
-1311
lines changed

15 files changed

+132
-1311
lines changed

.github/workflows/java.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: '0 0 * * *'
10+
11+
jobs:
12+
build-maven:
13+
name: Build Maven
14+
15+
runs-on: ubuntu-latest
16+
continue-on-error: ${{ matrix.experimental }}
17+
strategy:
18+
matrix:
19+
jdk: [8, 11]
20+
experimental: [false]
21+
include:
22+
- jdk: 17
23+
experimental: true
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Set up JDK ${{ matrix.jdk }}
27+
uses: actions/setup-java@v3
28+
with:
29+
java-version: ${{ matrix.jdk }}
30+
distribution: "semeru"
31+
cache: maven
32+
- name: Build with Maven
33+
run: mvn --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
34+
- run: mkdir staging && cp target/*.war staging
35+
- uses: actions/upload-artifact@v4
36+
with:
37+
name: cics-java-liberty-sprintboot-jcics (Maven, Java ${{ matrix.jdk }})
38+
path: staging
39+
40+
build-mvnw:
41+
name: Build Maven Wrapper
42+
43+
runs-on: ubuntu-latest
44+
continue-on-error: ${{ matrix.experimental }}
45+
strategy:
46+
matrix:
47+
jdk: [8, 11]
48+
experimental: [false]
49+
include:
50+
- jdk: 17
51+
experimental: true
52+
steps:
53+
- uses: actions/checkout@v3
54+
- name: Set up JDK ${{ matrix.jdk }}
55+
uses: actions/setup-java@v3
56+
with:
57+
java-version: ${{ matrix.jdk }}
58+
distribution: "semeru"
59+
cache: maven
60+
- name: Build with Maven
61+
run: ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
62+
63+
build-gradle:
64+
name: Build Gradle
65+
66+
runs-on: ubuntu-latest
67+
continue-on-error: ${{ matrix.experimental }}
68+
strategy:
69+
matrix:
70+
jdk: [8, 11]
71+
experimental: [false]
72+
include:
73+
- jdk: 17
74+
experimental: true
75+
steps:
76+
- uses: actions/checkout@v3
77+
- name: Set up JDK ${{ matrix.jdk }}
78+
uses: actions/setup-java@v4
79+
with:
80+
java-version: ${{ matrix.jdk }}
81+
distribution: 'semeru'
82+
- name: Build with Gradle
83+
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
84+
with:
85+
arguments: build -Pjava_version=${{ matrix.jdk }}

.tekton/README.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.tekton/helm/Chart.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.tekton/helm/templates/built-artifact-server-deployment.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.tekton/helm/templates/built-artifact-server-ingress.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.tekton/helm/templates/built-artifact-server-service.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)