mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
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
This commit is contained in:
20
.github/workflows/early-access.yaml
vendored
20
.github/workflows/early-access.yaml
vendored
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user