Skip to content

Commit 4fbe48d

Browse files
committed
Add v3 rebuild
1 parent 95af775 commit 4fbe48d

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

.github/workflows/dep_build.yml renamed to .github/workflows/dep_build_v2.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Re-build on jackson-databind push
1+
name: Re-build on jackson-databind v2 push
22
on:
33
repository_dispatch:
44
types: [jackson-databind-pushed]
@@ -10,8 +10,7 @@ permissions:
1010

1111
jobs:
1212
build:
13-
# Do we want wide matrix build? For now, more limited
14-
runs-on: ${{ matrix.os }}
13+
runs-on: 'ubuntu-22.04'
1514
strategy:
1615
fail-fast: false
1716
matrix:
@@ -20,7 +19,6 @@ jobs:
2019
# kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10.
2120
# https://youtrack.jetbrains.com/issue/KT-65156
2221
kotlin_version: ['1.8.10', '1.9.23', '2.0.0']
23-
os: ['ubuntu-22.04']
2422
env:
2523
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2624
steps:

.github/workflows/dep_build_v3.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
runs-on: 'ubuntu-22.04'
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
java_version: ['8', '17', '21', '22']
18+
# Versions need to align with ones in 'main.yml' workflow
19+
# kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10.
20+
# https://youtrack.jetbrains.com/issue/KT-65156
21+
kotlin_version: ['1.8.10', '1.9.23', '2.0.0']
22+
env:
23+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
24+
steps:
25+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
26+
with:
27+
ref: master
28+
- name: Set up JDK
29+
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
30+
with:
31+
distribution: 'temurin'
32+
java-version: ${{ matrix.java_version }}
33+
cache: 'maven'
34+
- name: Build and test
35+
run: ./mvnw -B -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} clean verify
36+
37+
# No recursive rebuild (yet?)

0 commit comments

Comments
 (0)