Skip to content

Weekly CDT Inspector #23

Weekly CDT Inspector

Weekly CDT Inspector #23

Workflow file for this run

# 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 }}"