Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit af3da1d

Browse files
committed
add CI build
1 parent 84201a9 commit af3da1d

File tree

4 files changed

+57
-6
lines changed

4 files changed

+57
-6
lines changed

.github/renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": [
3+
"config:base",
4+
":preserveSemverRanges",
5+
":rebaseStalePrs",
6+
":disableRateLimiting",
7+
":semanticCommits",
8+
":semanticCommitTypeAll(renovatebot)"
9+
],
10+
"labels": ["dependencies", "bot"]
11+
}

.github/workflows/build.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build
2+
3+
env:
4+
JAVA_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC"
5+
GRADLE_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -server -XX:+UseG1GC"
6+
TERM: xterm-256color
7+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8+
JDK_CURRENT: 11
9+
10+
##########################################################################
11+
12+
on:
13+
push:
14+
branches: [ master ]
15+
pull_request:
16+
branches: [ master ]
17+
18+
##########################################################################
19+
20+
jobs:
21+
cancel-previous-runs:
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 1
24+
steps:
25+
- uses: styfle/[email protected]
26+
with:
27+
access_token: ${{ github.token }}
28+
build:
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
os: [ubuntu-latest]
33+
runs-on: ${{ matrix.os }}
34+
needs: cancel-previous-runs
35+
steps:
36+
- uses: actions/checkout@v2
37+
# - name: Setup tmate session
38+
# uses: mxschmitt/action-tmate@v3
39+
- name: Set up JDK
40+
uses: actions/setup-java@v2
41+
with:
42+
java-version: ${{ env.JDK_CURRENT }}
43+
distribution: 'temurin'
44+
- name: Build
45+
run: ./gradlew clean build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a sample application that acts as a WS Federation client using Apache Fe
44

55
## Build
66

7-
You will need JDK 1.8.
7+
You will need JDK 11.
88

99
```bash
1010
./gradlew clean build

renovate.json

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

0 commit comments

Comments
 (0)