Skip to content

Commit a48972d

Browse files
committed
Testing regression history canary
1 parent 4d3c523 commit a48972d

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/perf-regression-ci.yml

+15-6
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
# READ BEFORE ENABLING THE TRIGGER BELOW
99
# This trigger is only used when testing the scripts in a branch, and should be commented out in other cases.
1010
# If this trigger is used, please change the following env: RESULT_REPO_BRANCH -> 'test' (MUST), DEPLOY -> 'false' (optional)
11-
# pull_request:
12-
# branches:
13-
# - master
11+
pull_request:
12+
branches:
13+
- master
1414

1515
env:
1616
# The branch to save run data and plot graph from. Use 'self-hosted' for master, use 'test' or anything else for testing in a branch.
17-
RESULT_REPO_BRANCH: 'self-hosted'
17+
RESULT_REPO_BRANCH: 'test'
1818
# Whether we deploy the generated page. Set to true for master.
1919
DEPLOY: true
2020
# Directories in ci-perf-kit that will be uploaded as artifacts. The dirs can be found in ci-perf-kit/scripts/common.sh
@@ -24,6 +24,7 @@ env:
2424
jobs:
2525
# JikesRVM
2626
jikesrvm-perf-regression:
27+
if: false # Disable this to test openjdk regression, only.
2728
runs-on: [self-hosted, Linux, freq-scaling-off]
2829
timeout-minutes: 1440
2930
steps:
@@ -114,6 +115,12 @@ jobs:
114115
with:
115116
repository: mmtk/mmtk-openjdk
116117
path: latest/mmtk-openjdk
118+
- name: Modify latest version toolchain
119+
working-directory: latest/mmtk-openjdk
120+
run: |
121+
cat mmtk/rust-toolchain
122+
echo "stable" > mmtk/rust-toolchain
123+
cat mmtk/rust-toolchain
117124
- name: Checkout OpenJDK (latest)
118125
working-directory: latest/mmtk-openjdk
119126
run: |
@@ -122,8 +129,8 @@ jobs:
122129
- name: Checkout Perf Kit
123130
uses: actions/checkout@v4
124131
with:
125-
repository: mmtk/ci-perf-kit
126-
ref: "0.8.0"
132+
repository: wks/ci-perf-kit
133+
ref: "feature/history-canary"
127134
path: ci-perf-kit
128135
submodules: true
129136
# checkout canary versions.
@@ -168,6 +175,7 @@ jobs:
168175
export RESULT_REPO_BRANCH=${{ env.RESULT_REPO_BRANCH }}
169176
export RESULT_REPO_ACCESS_TOKEN=${{ secrets.CI_ACCESS_TOKEN }}
170177
export FROM_DATE=2020-07-10
178+
export OPENJDK_HISTORY_RUN_TEST_FAST=1
171179
./ci-perf-kit/scripts/openjdk-history-run.sh \
172180
./latest/mmtk-openjdk \
173181
./canary/mmtk-openjdk \
@@ -196,6 +204,7 @@ jobs:
196204
if-no-files-found: error
197205

198206
openjdk-mutator-perf:
207+
if: false # Disable this to test openjdk regression, only.
199208
runs-on: [self-hosted, Linux, freq-scaling-off]
200209
timeout-minutes: 1440
201210
steps:

0 commit comments

Comments
 (0)