Skip to content

Commit c2ccfb8

Browse files
committed
Add CI, rebuild
1 parent 067e0a4 commit c2ccfb8

File tree

3 files changed

+102
-0
lines changed

3 files changed

+102
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Re-build on jackson-databind v2 push
2+
on:
3+
repository_dispatch:
4+
types: [jackson-databind-pushed]
5+
# just for testing
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
# Do we want wide matrix build? For now, limited
14+
runs-on: 'ubuntu-22.04'
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
java_version: ['8', '17', '21']
19+
env:
20+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
- name: Set up JDK
24+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
25+
with:
26+
distribution: 'temurin'
27+
java-version: ${{ matrix.java_version }}
28+
cache: 'maven'
29+
- name: Build and test
30+
run: ./mvnw -B -ff -ntp clean verify
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Re-build on jackson-databind v3 push
2+
on:
3+
repository_dispatch:
4+
types: [jackson-databind-pushed-v3]
5+
# just for testing
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
# Do we want wide matrix build? For now, limited
14+
runs-on: 'ubuntu-22.04'
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
java_version: ['17', '21']
19+
env:
20+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
with:
24+
ref: master
25+
- name: Set up JDK
26+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
27+
with:
28+
distribution: 'temurin'
29+
java-version: ${{ matrix.java_version }}
30+
cache: 'maven'
31+
- name: Build and test
32+
run: ./mvnw -B -ff -ntp clean verify
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build and Deploy Snapshot
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- "3.0"
7+
- "2.19"
8+
paths-ignore:
9+
- "README.md"
10+
- "release-notes/*"
11+
pull_request:
12+
branches:
13+
- master
14+
- "3.0"
15+
- "2.19"
16+
paths-ignore:
17+
- "README.md"
18+
- "release-notes/*"
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
build:
24+
runs-on: 'ubuntu-22.04'
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
java_version: ['8', '17', '21' ]
29+
env:
30+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
31+
steps:
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
- name: Set up JDK
34+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
35+
with:
36+
distribution: 'temurin'
37+
java-version: ${{ matrix.java_version }}
38+
cache: 'maven'
39+
- name: Build
40+
run: ./mvnw -B -ff -ntp verify

0 commit comments

Comments
 (0)