Skip to content

Commit

Permalink
Add native released run to PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik committed Oct 2, 2023
1 parent c6ae99d commit 272b9c3
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ jobs:
- name: Build
run: |
MAVEN_PROFILES="-Pframework,examples"
if [[ "${{ matrix.quarkus-version }}" = 1.* ]]; then
EXCLUDE_MODULES="-pl !examples/grpc"
MAVEN_PROFILES=$MAVEN_PROFILES
fi
if [[ "${{ matrix.quarkus-version }}" != current ]]; then
QUARKUS_VERSION="-Dquarkus.platform.version=${{ matrix.quarkus-version }}"
Expand Down Expand Up @@ -236,10 +232,6 @@ jobs:
run: tar -xzf maven-repo.tgz -C ~
- name: Build
run: |
if [[ "${{ matrix.quarkus-version }}" = 1.* ]]; then
EXCLUDE_MODULES="-pl !examples/grpc"
fi
if [[ "${{ matrix.quarkus-version }}" != current ]]; then
QUARKUS_VERSION="-Dquarkus.platform.version=${{ matrix.quarkus-version }}"
fi
Expand Down
46 changes: 42 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ jobs:
install-helm: no
- name: Build in JVM mode
run: |
if [[ "${{ matrix.quarkus-version }}" = 1.* ]]; then
EXCLUDE_MODULES="-pl !examples/grpc"
fi
if [[ "${{ matrix.quarkus-version }}" != current ]]; then
QUARKUS_VERSION="-Dquarkus.platform.version=${{ matrix.quarkus-version }}"
fi
Expand Down Expand Up @@ -158,6 +154,48 @@ jobs:
with:
name: ci-artifacts
path: artifacts-latest-linux-jvm${{ matrix.java }}.zip
linux-build-native-released:
name: Daily - Linux - Native build - Released Version
runs-on: ubuntu-latest
needs: validate-format
strategy:
matrix:
quarkus-version: [ "current" ]
java: [ 17 ]
steps:
- uses: actions/checkout@v4
- name: Reclaim Disk Space
run: .github/ci-prerequisites.sh
- name: Install JDK {{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
check-latest: true
cache: 'maven'
- name: Install Helm client
uses: azure/setup-helm@v3
with:
version: v3.9.0
id: install-helm
- name: Setup helmfile
uses: mamezou-tech/[email protected]
with:
helmfile-version: "v0.145.2"
install-helm: no
- name: Build
run: |
mvn -B -fae -s .github/mvn-settings.xml clean install -Pframework,examples,native
- name: Zip Artifacts
if: failure()
run: |
zip -R artifacts-native-${{ matrix.quarkus-version }}-${{ matrix.java }}.zip '*-reports/*'
- name: Archive artifacts
if: failure()
uses: actions/upload-artifact@v3
with:
name: ci-artifacts
path: artifacts-native-${{ matrix.quarkus-version }}-${{ matrix.java }}.zip
windows-build-jvm-latest:
name: Windows - JVM build - Latest Version
runs-on: windows-latest
Expand Down

0 comments on commit 272b9c3

Please sign in to comment.