Skip to content

Commit 5eeb2fa

Browse files
willcl-arkMarcoFalke
andcommitted
ci: reduce runner sizes on various jobs
These jobs can use reduced runner size to avoid wasting CPU, as much of the long-running part of the job is single-threaded. Suggested in: bitcoin/bitcoin#32989 (comment) Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
1 parent e1ce0c5 commit 5eeb2fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
windows-cross:
303303
name: 'Linux->Windows cross, no tests'
304304
needs: runners
305-
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' || 'ubuntu-24.04' }}
305+
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm' || 'ubuntu-24.04' }}
306306
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
307307

308308
env:
@@ -433,7 +433,7 @@ jobs:
433433
file-env: './ci/test/00_setup_env_arm.sh'
434434

435435
- name: 'ASan + LSan + UBSan + integer, no depends, USDT'
436-
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg' # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools
436+
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools
437437
fallback-runner: 'ubuntu-24.04'
438438
timeout-minutes: 120
439439
file-env: './ci/test/00_setup_env_native_asan.sh'
@@ -445,7 +445,7 @@ jobs:
445445
file-env: './ci/test/00_setup_env_mac_cross.sh'
446446

447447
- name: 'No wallet, libbitcoinkernel'
448-
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
448+
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm'
449449
fallback-runner: 'ubuntu-24.04'
450450
timeout-minutes: 120
451451
file-env: './ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh'
@@ -481,7 +481,7 @@ jobs:
481481
file-env: './ci/test/00_setup_env_native_tidy.sh'
482482

483483
- name: 'TSan, depends, no gui'
484-
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
484+
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
485485
fallback-runner: 'ubuntu-24.04'
486486
timeout-minutes: 120
487487
file-env: './ci/test/00_setup_env_native_tsan.sh'
@@ -528,7 +528,7 @@ jobs:
528528
lint:
529529
name: 'lint'
530530
needs: runners
531-
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm' || 'ubuntu-24.04' }}
531+
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-xs' || 'ubuntu-24.04' }}
532532
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
533533
timeout-minutes: 20
534534
env:

0 commit comments

Comments
 (0)