Skip to content

Commit

Permalink
Inspector integration tests with CDT UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
entlicher committed Nov 20, 2023
1 parent 38d4ba4 commit 2700cdb
Show file tree
Hide file tree
Showing 12 changed files with 862 additions and 362 deletions.
71 changes: 71 additions & 0 deletions .github/workflows/cdt-inspect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Intergation test of CDT with Inspector backend.
name: Weekly CDT Inspector

on:
schedule:
# - cron: "30 2 * * 5" # Friday at 2:30
- cron: "45 2 * * *"

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
- run: |
ls -d ${{ github.workspace }}
ls -l ${{ github.workspace }}
- name: Checkout oracle/graaljs
uses: actions/checkout@v4
with:
repository: oracle/graaljs
fetch-depth: 1
sparse-checkout: |
graal-js
path: ${{ github.workspace }}/js
- run: |
ls -l ${{ github.workspace }}
ls -l ${{ github.workspace }}/*
- name: Checkout graalvm/mx
uses: actions/checkout@v4
with:
repository: graalvm/mx.git
fetch-depth: 1
ref: master
path: ${{ env.MX_PATH }}
- run: |
ls -l ${{ github.workspace }}
ls -l ${{ github.workspace }}/*
- 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
ls -l ${{ github.workspace }}
ls -l ${{ github.workspace }}/*
cd ${{ github.workspace }}/graal/vm
${MX_PATH}/mx --dy /tools,graal-js build
cd tests/gh_workflows/CDTInspectorTest
mvn -q compile
mvn -q exec:java -Dexec.args="${{ github.workspace }}/graal/sdk/latest_graalvm_home/bin/js scripts/StepTest.js ${{ steps.setup-chrome.outputs.chrome-path }} ${{ steps.setup-chrome.outputs.chrome-version }}"
187 changes: 0 additions & 187 deletions .github/workflows/main.yml

This file was deleted.

Loading

0 comments on commit 2700cdb

Please sign in to comment.