forked from mmtk/mmtk-core
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.4 KB
/
perf-openjdk-baseline.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
name: OpenJDK Performance Baseline
on:
# Manual dispatch
workflow_dispatch:
# Or on every sunday 1200am UTC
schedule:
- cron: '0 0 * * SUN'
jobs:
openjdk-baseline:
runs-on: [self-hosted, Linux, freq-scaling-off]
# Allow 2 days to run (it currently takes slightly more than 1 day to finish)
timeout-minutes: 2880
steps:
- name: Checkout OpenJDK Binding
uses: actions/checkout@v2
with:
repository: mmtk/mmtk-openjdk
path: mmtk-openjdk
submodules: true
# checkout perf-kit
- name: Checkout Perf Kit
uses: actions/checkout@v2
with:
token: ${{ secrets.CI_ACCESS_TOKEN }}
repository: mmtk/ci-perf-kit
ref: "0.6.8"
path: ci-perf-kit
submodules: true
# setup
- name: Setup
run: |
./ci-perf-kit/scripts/history-run-setup.sh
sed -i 's/^mmtk[[:space:]]=/#ci:mmtk=/g' mmtk-openjdk/mmtk/Cargo.toml
sed -i 's/^#[[:space:]]mmtk/mmtk/g' mmtk-openjdk/mmtk/Cargo.toml
# run
- name: Performance Run
timeout-minutes: 2880
run: |
export RESULT_REPO=mmtk/ci-perf-result
export RESULT_REPO_BRANCH=self-hosted
export RESULT_REPO_ACCESS_TOKEN=${{ secrets.CI_ACCESS_TOKEN }}
export FROM_DATE=2020-07-10
./ci-perf-kit/scripts/openjdk-stock.sh ./mmtk-openjdk/repos/openjdk