This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push: new b0b71153 Make the default (non-native) build work again (#808) b0b71153 is described below commit b0b711534441b666827f079d78be8e471488e604 Author: Petr Široký <petr.sir...@pm.me> AuthorDate: Sun Mar 12 23:07:51 2023 +0100 Make the default (non-native) build work again (#808) * Make the default (non-native) build work again * the renamed test is supposed to use the native binary, but it was being picked up by surefire, because of its name. For non-native builds (e.g. without -Pnative) the test would fail as the native binary does not exist * Add GitHub job for for default (non-native) build --- .github/workflows/early-access.yaml | 20 +++++++++++++++++++- ...ithApiTest.java => ExtensionWithApiNativeIT.java} | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/early-access.yaml b/.github/workflows/early-access.yaml index 4521ad0d..1a115b69 100644 --- a/.github/workflows/early-access.yaml +++ b/.github/workflows/early-access.yaml @@ -28,7 +28,25 @@ env: JAVA_VERSION: '17' jobs: - build: + default-build: + name: 'Default build (without Graal)' + if: startsWith(github.event.head_commit.message, '[release] Release ') != true + runs-on: ubuntu-22.04 + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + + - name: 'Run default (non-native) build' + run: ./mvnw verify -Dmrm=false -B -ntp -e + + - name: 'Upload daemon test logs' + if: always() + uses: actions/upload-artifact@v2 + with: + name: daemon-test-logs-default-build + path: integration-tests/target/mvnd-tests/**/daemon*.log + + native-build: name: 'Build with Graal on ${{ matrix.os }}' if: startsWith(github.event.head_commit.message, '[release] Release ') != true strategy: diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java similarity index 97% rename from integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiTest.java rename to integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java index 8fe0fb49..7dcaab5e 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java @@ -27,7 +27,7 @@ import org.mvndaemon.mvnd.client.DaemonParameters; import org.mvndaemon.mvnd.junit.MvndNativeTest; @MvndNativeTest(projectDir = "src/test/projects/extension-with-api") -public class ExtensionWithApiTest { +public class ExtensionWithApiNativeIT { @Inject Client client;