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 586f7e3 commit 88819e5
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,12 @@ jobs:
run: ./mvnw -B clean native:compile -Pnative -Dmaven.compiler.release=${{ matrix.graal.java }}

- name: Run native (${{ matrix.graal.graal }})
uses: BerniWittmann/background-server-action@v1
with:
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
shell: bash
working-directory: target
run: |
summit-lab-spring-music &
echo $! > app.pid
sleep 10
curl -f http://localhost:8080/index.html
kill -9 `cat app.pid`

0 comments on commit 88819e5

Please sign in to comment.