mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
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: https://github.com/bitcoin/bitcoin/pull/32989#discussion_r2321775620 Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -302,7 +302,7 @@ jobs:
|
|||||||
windows-cross:
|
windows-cross:
|
||||||
name: 'Linux->Windows cross, no tests'
|
name: 'Linux->Windows cross, no tests'
|
||||||
needs: runners
|
needs: runners
|
||||||
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' || 'ubuntu-24.04' }}
|
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm' || 'ubuntu-24.04' }}
|
||||||
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
|
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -433,7 +433,7 @@ jobs:
|
|||||||
file-env: './ci/test/00_setup_env_arm.sh'
|
file-env: './ci/test/00_setup_env_arm.sh'
|
||||||
|
|
||||||
- name: 'ASan + LSan + UBSan + integer, no depends, USDT'
|
- name: 'ASan + LSan + UBSan + integer, no depends, USDT'
|
||||||
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
|
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
|
||||||
fallback-runner: 'ubuntu-24.04'
|
fallback-runner: 'ubuntu-24.04'
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
file-env: './ci/test/00_setup_env_native_asan.sh'
|
file-env: './ci/test/00_setup_env_native_asan.sh'
|
||||||
@@ -445,7 +445,7 @@ jobs:
|
|||||||
file-env: './ci/test/00_setup_env_mac_cross.sh'
|
file-env: './ci/test/00_setup_env_mac_cross.sh'
|
||||||
|
|
||||||
- name: 'No wallet, libbitcoinkernel'
|
- name: 'No wallet, libbitcoinkernel'
|
||||||
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
|
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm'
|
||||||
fallback-runner: 'ubuntu-24.04'
|
fallback-runner: 'ubuntu-24.04'
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
file-env: './ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh'
|
file-env: './ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh'
|
||||||
@@ -481,7 +481,7 @@ jobs:
|
|||||||
file-env: './ci/test/00_setup_env_native_tidy.sh'
|
file-env: './ci/test/00_setup_env_native_tidy.sh'
|
||||||
|
|
||||||
- name: 'TSan, depends, no gui'
|
- name: 'TSan, depends, no gui'
|
||||||
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg'
|
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
|
||||||
fallback-runner: 'ubuntu-24.04'
|
fallback-runner: 'ubuntu-24.04'
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
file-env: './ci/test/00_setup_env_native_tsan.sh'
|
||||||
@@ -528,7 +528,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
name: 'lint'
|
name: 'lint'
|
||||||
needs: runners
|
needs: runners
|
||||||
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm' || 'ubuntu-24.04' }}
|
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-xs' || 'ubuntu-24.04' }}
|
||||||
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
|
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user