File tree Expand file tree Collapse file tree 9 files changed +50
-5
lines changed Expand file tree Collapse file tree 9 files changed +50
-5
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ concurrency :
9
+ # Cancels pending runs when a PR gets updated.
10
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11
+ cancel-in-progress : true
12
+
8
13
# The workflow may fail if we change the public API in a pull request.
9
14
# We allow fail on this action. But we should manually check if the changes are reasonable when we see a failed action.
10
15
# It would be good if the workflow returns a neutral status when we find API changes. But it is currently not
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ concurrency :
9
+ # Cancels pending runs when a PR gets updated.
10
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11
+ cancel-in-progress : true
12
+
8
13
jobs :
9
14
msrv :
10
15
runs-on : ubuntu-18.04
Original file line number Diff line number Diff line change 5
5
release :
6
6
types : [published]
7
7
8
+ concurrency :
9
+ # Cancels pending runs when a PR gets updated.
10
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11
+ cancel-in-progress : true
12
+
8
13
jobs :
9
14
cargo-publish :
10
15
runs-on : ubuntu-18.04
Original file line number Diff line number Diff line change 13
13
branches-ignore :
14
14
- ' **'
15
15
16
+ concurrency :
17
+ # Cancels pending runs when a PR gets updated.
18
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19
+ cancel-in-progress : true
20
+
16
21
jobs :
17
22
openjdk-microbm :
18
23
runs-on : [self-hosted, Linux, freq-scaling-off]
66
71
submodules : true
67
72
# Use rust-toolchain in the trunk (it doesnt matter much - if the toolchains defined in the trunk and the branch are different, we cant run anyway)
68
73
- name : Setup Rust Toolchain
69
- run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core-trunk/rust-toolchain`" >> $GITHUB_ENV
74
+ run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core-trunk/rust-toolchain`" >> $GITHUB_ENV
70
75
# run compare
71
76
- name : Compare Performance
72
77
id : run
Original file line number Diff line number Diff line change 6
6
branches :
7
7
- master
8
8
9
+ concurrency :
10
+ # Cancels pending runs when a PR gets updated.
11
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12
+ cancel-in-progress : true
13
+
9
14
jobs :
10
15
# Trigger ci.yml from mmtk/mmtk-dev-env to make sure mmtk-core can build with mmtk-dev-env.
11
16
check-mmtk-dev-env :
22
27
inputs : ' {}'
23
28
propagate_failure : true
24
29
trigger_workflow : true
25
- wait_workflow : true
30
+ wait_workflow : true
Original file line number Diff line number Diff line change 11
11
description : The pull request number to run the perf tests. The workflow compares the specified pull request with the trunk.
12
12
required : true
13
13
14
+ concurrency :
15
+ # Cancels pending runs when a PR gets updated.
16
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17
+ cancel-in-progress : true
18
+
14
19
jobs :
15
20
# Figure out binding PRs.
16
21
binding-refs :
Original file line number Diff line number Diff line change 6
6
branches :
7
7
- master
8
8
9
+ concurrency :
10
+ # Cancels pending runs when a PR gets updated.
11
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12
+ cancel-in-progress : true
13
+
9
14
jobs :
10
15
# Figure out binding PRs.
11
16
binding-refs :
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ concurrency :
9
+ # Cancels pending runs when a PR gets updated.
10
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11
+ cancel-in-progress : true
12
+
8
13
jobs :
9
14
# Setup dynamic test matrix
10
15
setup-test-matrix :
Original file line number Diff line number Diff line change 8
8
branches-ignore :
9
9
- ' **'
10
10
11
+ concurrency :
12
+ # Cancels pending runs when a PR gets updated.
13
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14
+ cancel-in-progress : true
15
+
11
16
jobs :
12
17
jikesrvm-stress-test :
13
18
runs-on : [self-hosted, Linux, freq-scaling-on]
28
33
- name : Overwrite MMTk core in JikesRVM binding
29
34
run : cp -r mmtk-core mmtk-jikesrvm/repos/
30
35
- name : Setup Rust Toolchain
31
- run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core/rust-toolchain`" >> $GITHUB_ENV
36
+ run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core/rust-toolchain`" >> $GITHUB_ENV
32
37
- name : Setup
33
38
run : |
34
39
sed -i 's/^mmtk[[:space:]]=/#ci:mmtk=/g' mmtk-jikesrvm/mmtk/Cargo.toml
@@ -112,7 +117,7 @@ jobs:
112
117
- name : Overwrite MMTk core in openjdk binding
113
118
run : cp -r mmtk-core mmtk-openjdk/repos/
114
119
- name : Setup Rust Toolchain
115
- run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core/rust-toolchain`" >> $GITHUB_ENV
120
+ run : echo "RUSTUP_TOOLCHAIN=`cat mmtk-core/rust-toolchain`" >> $GITHUB_ENV
116
121
- name : Setup
117
122
run : |
118
123
sed -i 's/^mmtk[[:space:]]=/#ci:mmtk=/g' mmtk-openjdk/mmtk/Cargo.toml
@@ -159,4 +164,4 @@ jobs:
159
164
if : always()
160
165
timeout-minutes : 180
161
166
run :
162
- mmtk-openjdk/repos/openjdk/build/linux-x86_64-normal-server-release/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar /usr/share/benchmarks/dacapo/dacapo-2006-10-MR2.jar eclipse
167
+ mmtk-openjdk/repos/openjdk/build/linux-x86_64-normal-server-release/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar /usr/share/benchmarks/dacapo/dacapo-2006-10-MR2.jar eclipse
You can’t perform that action at this time.
0 commit comments