Skip to content

Commit

Permalink
Add v3 dep build
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 13, 2024
1 parent c7e4346 commit 7dec478
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Re-build on jackson-databind push
name: Re-build on jackson-databind v2 push
on:
repository_dispatch:
types: [jackson-databind-pushed]
Expand All @@ -11,12 +11,11 @@ permissions:
jobs:
build:
# Do we want wide matrix build? For now, limited
runs-on: ${{ matrix.os }}
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21']
os: ['ubuntu-22.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
Expand Down
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: ['8', '17', '21']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: master
- name: Set up JDK
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
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 7dec478

Please sign in to comment.