diff --git a/.github/workflows/dep_build_v2.yml b/.github/workflows/dep_build_v2.yml new file mode 100644 index 0000000..77b295b --- /dev/null +++ b/.github/workflows/dep_build_v2.yml @@ -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?) diff --git a/.github/workflows/dep_build_v3.yml b/.github/workflows/dep_build_v3.yml new file mode 100644 index 0000000..5e63e94 --- /dev/null +++ b/.github/workflows/dep_build_v3.yml @@ -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?)