This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch mvnd-1.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit 195fba5fb6fef717b9534d35e3350931a8fda5d3
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Oct 25 23:15:20 2026 +0100

    Publish the native image build report from CI
    
    Uploaded per platform as native-image-build-report-<os>-<arch>, for
    tracking image size and contents across changes.
    
    (cherry picked from commit c23e99425fa5f9e82b2d696b11fbb8d6e612925b)
---
 .github/workflows/early-access.yaml | 8 ++++++++
 client/pom.xml                      | 1 +
 2 files changed, 9 insertions(+)

diff --git a/.github/workflows/early-access.yaml 
b/.github/workflows/early-access.yaml
index 1e430aaf..16b2abac 100644
--- a/.github/workflows/early-access.yaml
+++ b/.github/workflows/early-access.yaml
@@ -230,6 +230,14 @@ jobs:
           name: daemon-test-logs-${{ env.OS }}-${{ env.ARCH }}
           path: integration-tests/target/mvnd-tests/**/daemon*.log
 
+      - name: 'Upload native image build report'
+        if: always()
+        uses: actions/upload-artifact@v7
+        with:
+          name: native-image-build-report-${{ matrix.os }}-${{ env.ARCH }}
+          path: client/target/*build-report*.html
+          if-no-files-found: ignore
+
       - name: 'Upload artifact'
         uses: actions/upload-artifact@v7
         with:
diff --git a/client/pom.xml b/client/pom.xml
index 82507f0a..39852b07 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -289,6 +289,7 @@
                 <buildArg>-H:-ParseRuntimeOptions</buildArg>
                 <buildArg>-H:+AddAllCharsets</buildArg>
                 <buildArg>-H:+ReportExceptionStackTraces</buildArg>
+                <buildArg>--emit build-report</buildArg>
                 <buildArg>-ea</buildArg>
               </buildArgs>
             </configuration>

Reply via email to