From 03ec72fb67c06c5f71c19954eebcffe33f1a55f2 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Thu, 22 Dec 2022 15:21:36 +0200 Subject: [PATCH] CI: Pass `-amd` (also make dependents) when building native-images This allows multi-module directories like test-extension to be tested as expected. --- .github/workflows/base-windows.yml | 2 +- .github/workflows/base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base-windows.yml b/.github/workflows/base-windows.yml index a314832620e3..a38c8bce22a4 100644 --- a/.github/workflows/base-windows.yml +++ b/.github/workflows/base-windows.yml @@ -503,7 +503,7 @@ jobs: $opts=@() -split $Env:NATIVE_TEST_MAVEN_OPTS | foreach { $opts += "`"$_`"" } #if ( "${{ inputs.builder-image }}" -eq "null" ) { - mvn -f integration-tests -pl "$Env:TEST_MODULES" $opts install + mvn -f integration-tests -pl "$Env:TEST_MODULES" -amd $opts install #} else { # mvn -pl $do_modules "-Dquarkus.native.container-build=true" "-Dquarkus.native.builder-image=${{ inputs.builder-image }}" $opts package #} diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index e125ed50385e..d1882d029a1a 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -473,7 +473,7 @@ jobs: fi unset IFS fi - ./mvnw -B --settings ${QUARKUS_PATH}/.github/mvn-settings.xml -f integration-tests -pl "$TEST_MODULES" $BUILDER_IMAGE $NATIVE_TEST_MAVEN_OPTS + ./mvnw -B --settings ${QUARKUS_PATH}/.github/mvn-settings.xml -f integration-tests -pl "$TEST_MODULES" -amd $BUILDER_IMAGE $NATIVE_TEST_MAVEN_OPTS - name: Prepare failure archive (if maven failed) if: failure() shell: bash