graalvm-native-image

GraalVM with native-image compilation in Travis CI

江枫思渺然 提交于 2020-06-28 04:23:35
问题 I have Java project which I compile with GraalVM native-image to executable binary. I'd like to configure continuous integration process for the project with Travis CI and it's ineresting to me - does Travis CI allow that? How can I configure .travis.yml file for building with GraalVM native-image? 回答1: I was able to configure native-image GraalVM compilation in Travis CI builds using install-jdk.sh from Bach.java - Java Shell Builder. Here is .travis-ci.yml : sudo: false language: java cache

GraalVM with native-image compilation in Travis CI

◇◆丶佛笑我妖孽 提交于 2020-06-28 04:23:08
问题 I have Java project which I compile with GraalVM native-image to executable binary. I'd like to configure continuous integration process for the project with Travis CI and it's ineresting to me - does Travis CI allow that? How can I configure .travis.yml file for building with GraalVM native-image? 回答1: I was able to configure native-image GraalVM compilation in Travis CI builds using install-jdk.sh from Bach.java - Java Shell Builder. Here is .travis-ci.yml : sudo: false language: java cache

GraalVM Quarkus Locale in native mode

假如想象 提交于 2020-05-16 05:53:06
问题 I have an unexpected behavior with available locales when native build. I have only one locale available in native mode. My application is very simple : @ApplicationPath("/api") public class ApplicationPathConfiguration extends Application { } @Path("/locales") public class LocaleController { @GET @Produces(MediaType.APPLICATION_JSON) public Locale[] get() { return Locale.getAvailableLocales(); } } After checkout if I launch the application in dev mode : mvn quarkus:dev You can call the