Skip to content

Commit

Permalink
Try again to compile and run native executable
Browse files Browse the repository at this point in the history
  • Loading branch information
bhoran committed Jul 17, 2024
1 parent fa312c3 commit c904b4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/graalpy-install-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,25 @@ jobs:
sudo apt-get install xvfb
Xvfb :19 -screen 0 1024x768x16 &
echo "DISPLAY=:19" >> "$GITHUB_ENV"
- name: Run 'graalpy-install-package'
- name: Run 'graalpy-install-package java'
run: |
cd graalpy-install-package
cd graalpy-install-package
mvn --no-transfer-progress clean package
mvn exec:exec &
PID=$!
sleep 60
kill $PID
- name: Run 'graalpy-install-package native'
run: |
mvn --no-transfer-progress clean package
# Collect metadata
mvn exec:exec -Pnative &
PID=$!
sleep 60
kill $PID
# Build native
mvn package -Pnative
# Run native executable
./target/package-graalpy &
PID=$!
sleep 60
Expand Down

0 comments on commit c904b4f

Please sign in to comment.