Skip to content

Commit

Permalink
Adding native to build & test
Browse files Browse the repository at this point in the history
  • Loading branch information
edeandrea committed Oct 5, 2023
1 parent 7f248db commit cf56874
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,15 @@ jobs:
run: ./mvnw -B clean native:compile -Pnative -Dmaven.compiler.release=${{ matrix.graal.java }}

- name: Run native (${{ matrix.graal.graal }})
uses: JarvusInnovations/background-action@v1
uses: BerniWittmann/background-server-action
with:
log-output-if: true
log-output-resume: true
tail: true
wait-on: http-get://localhost:8080/index.html
working-directory: target
run: summit-lab-spring-music
command: target/summit-lab-spring-music
wait-on: http://localhost:8080/index.html
# uses: JarvusInnovations/background-action@v1
# with:
# log-output-if: true
# log-output-resume: true
# tail: true
# wait-on: http-get://localhost:8080/index.html
# working-directory: target
# run: summit-lab-spring-music
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>

<plugin>
Expand Down

0 comments on commit cf56874

Please sign in to comment.