forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inspector integration tests with CDT UI.
- Loading branch information
Showing
12 changed files
with
894 additions
and
362 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,60 @@ | ||
# Intergation test of CDT with Inspector backend. | ||
name: Weekly CDT Inspector | ||
|
||
on: | ||
schedule: | ||
# - cron: "30 2 * * 2,5" # Tuesday and Friday at 2:30 | ||
- cron: "50 13 * * *" | ||
|
||
env: | ||
JAVA_HOME: ${{ github.workspace }}/jdk | ||
JDK_VERSION: "latest" | ||
MX_PATH: ${{ github.workspace }}/mx | ||
SE_SKIP_DRIVER_IN_PATH: "true" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: browser-actions/setup-chrome@v1 | ||
with: | ||
chrome-version: dev | ||
id: setup-chrome | ||
- name: Checkout oracle/graal | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
path: ${{ github.workspace }}/graal | ||
- name: Checkout oracle/graaljs | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: oracle/graaljs | ||
fetch-depth: 1 | ||
sparse-checkout: | | ||
graal-js | ||
path: ${{ github.workspace }}/js | ||
- name: Checkout graalvm/mx | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: graalvm/mx.git | ||
fetch-depth: 1 | ||
ref: master | ||
path: ${{ env.MX_PATH }} | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: Fetch LabsJDK | ||
run: | | ||
mkdir jdk-dl | ||
${MX_PATH}/mx --java-home= fetch-jdk --jdk-id labsjdk-ce-${JDK_VERSION} --to jdk-dl --alias ${JAVA_HOME} | ||
- run: | | ||
echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }} | ||
${{ steps.setup-chrome.outputs.chrome-path }} --version | ||
cd ${{ github.workspace }}/graal/vm | ||
${MX_PATH}/mx --dy /tools,graal-js build | ||
cd tests/gh_workflows/CDTInspectorTest | ||
mvn -q compile | ||
mvn -q exec:exec -Dtestargs="${{ github.workspace }}/graal/sdk/latest_graalvm_home/bin/js scripts/StepTest.js ${{ steps.setup-chrome.outputs.chrome-path }} ${{ steps.setup-chrome.outputs.chrome-version }}" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.