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:
Petr Široký
2023-03-12 23:07:51 +01:00
committed by GitHub
parent c7fd921e45
commit b0b7115344
2 changed files with 20 additions and 2 deletions

View File

@@ -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: