Skip to content

Release pulsar-jms-8.0.0 for pulsar-4.0.x compatibility. #9

Release pulsar-jms-8.0.0 for pulsar-4.0.x compatibility.

Release pulsar-jms-8.0.0 for pulsar-4.0.x compatibility. #9

Workflow file for this run

name: CI Pipeline
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build All Modules
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with parallel execution
run: mvn -B -T 2C clean install -DskipTests -Dspotbugs.skip=true -Dmaven.javadoc.skip=true
env:
MAVEN_OPTS: "-Xmx4g"
- name: Cache build output
uses: actions/cache/save@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
test-activemq-filters:
name: Test activemq-filters
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B test -pl activemq-filters -DrerunFailingTestsCount=3
test-pulsar-jms-filters:
name: Test pulsar-jms-filters
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B test -pl pulsar-jms-filters -DrerunFailingTestsCount=3
test-pulsar-jms:
name: Test pulsar-jms
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B test -pl pulsar-jms -DrerunFailingTestsCount=3
env:
MAVEN_OPTS: "-Xmx3g"
test-resource-adapter:
name: Test resource-adapter
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B test -pl resource-adapter -DrerunFailingTestsCount=3
test-resource-adapter-tests:
name: Test resource-adapter-tests
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B test -pl resource-adapter-tests -DrerunFailingTestsCount=3
test-pulsar-jms-integration:
name: Test pulsar-jms-integration-tests
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run tests
run: mvn -B verify -pl pulsar-jms-integration-tests -DrerunFailingTestsCount=3
env:
MAVEN_OPTS: "-Xmx3g"
javadoc:
name: Javadoc
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Generate Javadoc
run: mvn -B javadoc:javadoc -DskipTests
spotbugs:
name: SpotBugs
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run SpotBugs
run: mvn -B spotbugs:check -DskipTests
tck-client-side:
name: TCK Client Side Filters
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run TCK
run: mvn -B verify -Prun-tck -DskipTests -Dmaven.main.skip=true
env:
MAVEN_OPTS: "-Xmx4g"
tck-server-side:
name: TCK Server Side Filters
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
**/target
~/.m2/repository
key: build-${{ github.sha }}-${{ github.run_id }}
- name: Run TCK
run: mvn -B verify -Prun-tck-server-side-filters -DskipTests -Dmaven.main.skip=true
env:
MAVEN_OPTS: "-Xmx4g"
# Made with Bob