-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: adding profiles for native compile testings #1931
Conversation
…ng boot native/nativeTest profiles.
Restructured native profiles for sample pom to make use of spring boot
To build sample executable: @mpeddada1 PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Kudos, SonarCloud Quality Gate passed!
|
Based off mpeddada1#1, adding
spring-native
for parent pom, andnative-sample
for samples pom.These added profile should not have any affect on existing workflows.
To be followed by #1933 .
Install and use GraalVM compiler and install native image extension with
gu install native-image
.To package and run sample as native, instead of
mvn spring-boot:run
:mvn clean package -Pnative-sample -DskipTests
then execute the target built.To run integration tests of sample as native, add relevant system property to
systemPropertyVariables
:mvn -Pnative-sample clean test