Skip to content

Commit

Permalink
Add missing dependency build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 4, 2024
1 parent c88cee4 commit c395ef3
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dep_build_v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Re-build on jackson-databind v2 push
on:
repository_dispatch:
types: [jackson-databind-pushed]
# just for testing
workflow_dispatch:

permissions:
contents: read

jobs:
build:
# Do we want wide matrix build? For now, limited
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build and test
run: ./mvnw -B -ff -ntp clean verify

# No recursive rebuild (yet?)
34 changes: 34 additions & 0 deletions .github/workflows/dep_build_v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Re-build on jackson-databind v3 push
on:
repository_dispatch:
types: [jackson-databind-pushed-v3]
# just for testing
workflow_dispatch:

permissions:
contents: read

jobs:
build:
# Do we want wide matrix build? For now, limited
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['17', '21']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: master
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build and test
run: ./mvnw -B -ff -ntp clean verify

# No recursive rebuild (yet?)

0 comments on commit c395ef3

Please sign in to comment.