Skip to content

Commit

Permalink
Merge pull request #389 from rsvoboda/bump.quarkus.and.actions
Browse files Browse the repository at this point in the history
Bump Quarkus from 3.13 to 3.14 , bump versions of used actions
  • Loading branch information
jedla97 authored Sep 2, 2024
2 parents 13185c6 + ad74303 commit a66e926
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 45 deletions.
85 changes: 42 additions & 43 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -30,9 +30,9 @@ jobs:
matrix:
java: [ 17, 21 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -46,49 +46,49 @@ jobs:
run: |
zip -r artifacts-jvm${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*'
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-artifacts
path: artifacts-jvm${{ matrix.java }}.zip
linux-build-released-native:
name: Linux - Native build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v3
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
cache: 'maven'
- name: Build with Maven
run: |
mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags=product,codequarkus -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=docker -Dgh.actions
- name: Zip Artifacts
if: failure()
run: |
zip -r artifacts-native${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*'
- name: Archive artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: ci-artifacts
path: artifacts-native${{ matrix.java }}.zip
name: Linux - Native build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
cache: 'maven'
- name: Build with Maven
run: |
mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags=product,codequarkus -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=docker -Dgh.actions
- name: Zip Artifacts
if: failure()
run: |
zip -r artifacts-native${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*'
- name: Archive artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-artifacts
path: artifacts-native${{ matrix.java }}.zip
linux-build-code-start:
name: Linux - Code Quarkus
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17, 21 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -102,7 +102,7 @@ jobs:
run: |
zip -r artifacts-code-start${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*'
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-artifacts
Expand All @@ -114,9 +114,9 @@ jobs:
matrix:
java: [ 17, 21 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -133,7 +133,7 @@ jobs:
# Disambiguate windows find from cygwin find
/usr/bin/find . -name '*-reports' -o -name 'archived-logs' -type d | tar -czf artifacts-windows-jvm${{ matrix.java }}.tar -T -
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-artifacts
Expand All @@ -147,9 +147,9 @@ jobs:
graalvm-version: [ "mandrel-latest" ]
graalvm-java-version: [ "21" ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -161,12 +161,11 @@ jobs:
with:
version: ${{ matrix.graalvm-version }}
java-version: ${{ matrix.graalvm-java-version }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Pagefile
# Increased the page-file size due to memory-consumption of native-image command
# For details see https://github.com/actions/virtual-environments/issues/785
uses: al-cheb/configure-pagefile-action@v1.3
uses: al-cheb/configure-pagefile-action@v1.4
- name: Build with Maven
run: |
mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags="product,codequarkus" -Dquarkus.native.native-image-xmx=6g -Dgh.actions
Expand All @@ -178,7 +177,7 @@ jobs:
# Disambiguate windows find from cygwin find
/usr/bin/find . -name '*-reports' -o -name 'archived-logs' -type d | tar -czf artifacts-windows-native${{ matrix.java }}.tar -T -
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: ci-artifacts
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<packaging>pom</packaging>
<name>Quarkus StartStop TS: Parent</name>
<properties>
<quarkus.version>3.13.2</quarkus.version>
<quarkus.version>3.14.1</quarkus.version>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus-ide-config.version>3.13.2</quarkus-ide-config.version>
<quarkus-ide-config.version>3.14.1</quarkus-ide-config.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
Expand Down

0 comments on commit a66e926

Please sign in to comment.