forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (66 loc) · 2.15 KB
/
cdt-inspect.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 }}"