Skip to content

Commit c36eb6d

Browse files
committed
perf[ci]: stopped instances
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 2541b93 commit c36eb6d

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

.github/runs-on.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,12 @@ images:
1111
owner: "375504701696"
1212

1313
pools:
14-
# Linux pool - covers UK (8am-6pm GMT) and US-East (8am-6pm EST)
14+
# Windows pool - covers UK (8am-6pm GMT) and US-East (8am-6pm EST)
1515
# Combined in UK timezone: 8am-11pm (UK 8-6 + NYC 8-6 = UK 8-11pm)
16-
# Stopped instances only (~15s boot vs ~25s cold-start)
17-
# Cost: ~$96/month (40 × $2.40 EBS storage)
18-
linux-x64:
19-
runner: family=m7i+m7i-flex+m7a/cpu=16/image=ubuntu24-full-x64/extras=s3-cache
20-
timezone: "Europe/London"
21-
schedule:
22-
- name: working-hours
23-
match:
24-
day: ["monday", "tuesday", "wednesday", "thursday", "friday"]
25-
time: ["08:00", "23:00"]
26-
stopped: 40
27-
- name: default
28-
stopped: 10
29-
30-
# Windows pool - same schedule
3116
# Stopped instances only (~20-30s boot vs 2-3min cold-start)
3217
# Cost: ~$5/month (2 × $2.40 EBS storage)
3318
windows-x64:
34-
runner: family=m7i/cpu=8/image=windows22-full-x64
19+
runner: family=m7i/cpu=8/image=windows22-full-x64/tag=rust-test-windows
3520
timezone: "Europe/London"
3621
schedule:
3722
- name: working-hours

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,7 @@ jobs:
493493
matrix:
494494
include:
495495
- os: windows-x64
496-
runner:
497-
- runs-on=${{ github.run_id }}
498-
- family=m7i
499-
- cpu=8
500-
- image=windows22-full-x64
501-
- tag=rust-test-windows
496+
runner: runs-on=${{ github.run_id }}/pool=windows-x64
502497
- os: linux-arm64
503498
runner:
504499
- runs-on=${{ github.run_id }}

0 commit comments

Comments
 (0)