Skip to content

Commit b997e4d

Browse files
committed
Testing regression history canary
1 parent 7ac891d commit b997e4d

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:
@@ -108,6 +109,12 @@ jobs:
108109
with:
109110
repository: mmtk/mmtk-openjdk
110111
path: latest/mmtk-openjdk
112+
- name: Modify latest version toolchain
113+
working-directory: latest/mmtk-openjdk
114+
run: |
115+
cat mmtk/rust-toolchain
116+
echo "stable" > mmtk/rust-toolchain
117+
cat mmtk/rust-toolchain
111118
- name: Checkout OpenJDK (latest)
112119
working-directory: latest/mmtk-openjdk
113120
run: |
@@ -116,8 +123,8 @@ jobs:
116123
- name: Checkout Perf Kit
117124
uses: actions/checkout@v4
118125
with:
119-
repository: mmtk/ci-perf-kit
120-
ref: "0.8.0"
126+
repository: wks/ci-perf-kit
127+
ref: "feature/history-canary"
121128
path: ci-perf-kit
122129
token: ${{ secrets.CI_ACCESS_TOKEN }}
123130
submodules: true
@@ -165,6 +172,7 @@ jobs:
165172
export RESULT_REPO_BRANCH=${{ env.RESULT_REPO_BRANCH }}
166173
export RESULT_REPO_ACCESS_TOKEN=${{ secrets.CI_ACCESS_TOKEN }}
167174
export FROM_DATE=2020-07-10
175+
export OPENJDK_HISTORY_RUN_TEST_FAST=1
168176
./ci-perf-kit/scripts/openjdk-history-run.sh \
169177
./latest/mmtk-openjdk \
170178
./canary/mmtk-openjdk \
@@ -193,6 +201,7 @@ jobs:
193201
if-no-files-found: error
194202

195203
openjdk-mutator-perf:
204+
if: false # Disable this to test openjdk regression, only.
196205
runs-on: [self-hosted, Linux, freq-scaling-off]
197206
timeout-minutes: 1440
198207
steps:

0 commit comments

Comments
 (0)