-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from graalvm/fix-graalpy-package-install
Attempt to fix graalpy-install-package
- Loading branch information
Showing
13 changed files
with
362 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: graalpy-install-package | ||
on: | ||
push: | ||
paths: | ||
- 'graalpy-install-package/**' | ||
- '.github/workflows/graalpy-install-package.yml' | ||
pull_request: | ||
paths: | ||
- 'graalpy-install-package/**' | ||
- '.github/workflows/graalpy-install-package.yml' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
run: | ||
name: Run 'graalpy-install-package' | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: graalvm/setup-graalvm@v1 | ||
with: | ||
java-version: '21.0.2' | ||
distribution: 'graalvm' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
cache: 'maven' | ||
native-image-job-reports: 'true' | ||
- name: Set up virtual X11 | ||
run: | | ||
sudo apt-get install xvfb | ||
Xvfb :19 -screen 0 1024x768x16 & | ||
echo "DISPLAY=:19" >> "$GITHUB_ENV" | ||
- name: Run 'graalpy-install-package java' | ||
run: | | ||
cd graalpy-install-package | ||
mvn --no-transfer-progress clean package | ||
mvn exec:exec & | ||
PID=$! | ||
sleep 60 | ||
kill $PID | ||
# Cannot test native due to https://github.com/graalvm/native-build-tools/issues/584 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.