Skip to content

Commit d97228f

Browse files
authored
Run CI and mergify for v1.9.2+RAI (#112)
This PR allows CI and mergify to work with `v1.9.2+RAI` and `v1.8.2+RAI` (renamed from `v1.8.2-RAI`). It also changes the CI script to set the test max RSS based on the system memory (it seems Github hosted runners had an upgrade, and they now have 16G memory instead of 7G).
1 parent bb00563 commit d97228f

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.github/mergify.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
pull_request_rules:
2-
- name: backport patches to v1.8.2-RAI
2+
- name: backport patches to v1.8.2+RAI
33
conditions:
44
- base=master
5-
- label=backport-v1.8.2-RAI
5+
- label=backport-v1.8.2+RAI
66
actions:
77
backport:
88
branches:
9-
- v1.8.2-RAI
9+
- v1.8.2+RAI
10+
assignees:
11+
- "{{ author }}"
12+
label_conflicts: backport-conflicts
13+
- name: backport patches to v1.9.2+RAI
14+
conditions:
15+
- base=master
16+
- label=backport-v1.9.2+RAI
17+
actions:
18+
backport:
19+
branches:
20+
- v1.9.2+RAI
1021
assignees:
1122
- "{{ author }}"
1223
label_conflicts: backport-conflicts

.github/scripts/common.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ export MMTK_JULIA_DIR=$BINDING_PATH
1010
# Make sure we have enough heap to build Julia
1111
export MMTK_MIN_HSIZE_G=0.5
1212
export MMTK_MAX_HSIZE_G=4
13-
# Make sure we do not get OOM killed. The Github runner has ~7G RAM.
14-
export JULIA_TEST_MAXRSS_MB=6500
13+
# Make sure we do not get OOM killed.
14+
total_mem=$(free -m | awk '/^Mem:/ {print $2}')
15+
export JULIA_TEST_MAXRSS_MB=$total_mem
1516

1617
ci_run_jl_test() {
1718
test=$1

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
pull_request:
55
branches:
66
- master
7-
- v1.8.2-RAI
7+
- v1.8.2+RAI
8+
- v1.9.2+RAI
89

910
concurrency:
1011
# Cancels pending runs when a PR gets updated.

0 commit comments

Comments
 (0)