Migrate RM server to Quarkus framework #1228
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: CI build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:full') }} | |
| jobs: | |
| build: | |
| runs-on: [ubuntu-latest] | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # LTS-1 Temurin | |
| - jdk: '21' | |
| distribution: 'temurin' | |
| experimental: false | |
| # LTS Liberica | |
| - jdk: '25' | |
| distribution: 'liberica' | |
| experimental: false | |
| # Latest release Oracle | |
| # - jdk: '24' | |
| # distribution: 'oracle' | |
| # experimental: false | |
| # Next release Zulu | |
| # - jdk: '25-ea' | |
| # distribution: 'zulu' | |
| # experimental: true | |
| continue-on-error: ${{ matrix.experimental }} | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| show-progress: false | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: ${{ matrix.distribution }} | |
| java-version: ${{ matrix.jdk }} | |
| - uses: actions/cache@v5 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven- | |
| - name: Build with Maven | |
| run: mvn -B verify --file src/pom.xml -P '!strict' | |
| maven-enforcer: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jdk: ['21'] | |
| distribution: ['temurin'] | |
| experimental: [false] | |
| # include: | |
| # - jdk: '21-ea' | |
| # distribution: zulu | |
| # experimental: true | |
| continue-on-error: ${{ matrix.experimental }} | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| with: | |
| show-progress: false | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: ${{ matrix.distribution }} | |
| java-version: ${{ matrix.jdk }} | |
| - uses: actions/cache@v5 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven- | |
| - name: maven-enforcer-plugin chec | |
| run: | | |
| mvn -B install --file src/pom.xml | |
| mvn -B verify --file src/server-am/pom.xml | |
| mvn -B verify --file src/server-cm/pom.xml | |
| mvn -B verify --file src/server-qm/pom.xml | |
| mvn -B verify --file src/server-rm/pom.xml |