Skip to content

Commit cfbf415

Browse files
authored
Merge pull request #5846 from cloudflare/dlapid/large-runners
Use large github runners
2 parents e85a6f6 + b561e71 commit cfbf415

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

.github/workflows/_bazel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
image:
66
type: string
77
required: false
8-
default: 'ubuntu-22.04'
8+
default: 'ubuntu-22.04-16core'
99
os_name:
1010
type: string
1111
required: false

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424
jobs:
2525
benchmarks:
2626
name: Run benchmarks
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-22.04-16core
2828
env:
2929
BAZEL_ARGS: --config=benchmark --@google_benchmark//:codspeed_mode=instrumentation --remote_cache=https://bazel:${{ secrets.BAZEL_CACHE_KEY }}@bazel-remote-cache.devprod.cloudflare.dev
3030
steps:

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,31 +77,31 @@ jobs:
7777
include:
7878
- title: linux
7979
os-name: Linux
80-
image: ubuntu-22.04
80+
image: ubuntu-22.04-16core
8181
bazel-config: release_linux
8282
target-arch: X64
8383
- title: linux-arm64
8484
os-name: Linux
85-
image: ubuntu-22.04-arm
85+
image: ubuntu-22.04-arm-16core
8686
bazel-config: release_linux
8787
target-arch: ARM64
8888
# Based on runner availability, we build both Apple Silicon and (cross-compiled) x86
89-
# release binaries on the macos-15 runner.
89+
# release binaries on the macos-15-xlarge runner.
9090
- title: macOS-x64
9191
os-name: macOS
92-
# This configuration is used for cross-compiling – macos-15 is Apple Silicon-based but
92+
# This configuration is used for cross-compiling – macos-15-xlarge is Apple Silicon-based but
9393
# we use it to compile the x64 release.
94-
image: macos-15
94+
image: macos-15-xlarge
9595
bazel-config: release_macos_cross_x86_64
9696
target-arch: X64
9797
- title: macOS-arm64
9898
os-name: macOS
99-
image: macos-15
99+
image: macos-15-xlarge
100100
bazel-config: release_macos
101101
target-arch: ARM64
102102
- title: windows
103103
os-name: Windows
104-
image: windows-2025
104+
image: windows-2025-16core
105105
bazel-config: release_windows
106106
target-arch: X64
107107
name: build (${{ matrix.title }})
@@ -237,7 +237,7 @@ jobs:
237237
publish-wrapper:
238238
name: Publish `workerd` to NPM
239239
needs: [version, upload-artifacts]
240-
runs-on: ubuntu-22.04
240+
runs-on: ubuntu-22.04-16core
241241
steps:
242242
- name: Checkout Repo
243243
uses: actions/checkout@v4
@@ -294,7 +294,7 @@ jobs:
294294
- run: cd npm/workerd && npm publish --access public --tag ${{ startsWith(needs.version.outputs.version, '0') && 'beta' || 'latest'}}
295295

296296
build-and-publish-types:
297-
runs-on: ubuntu-22.04
297+
runs-on: ubuntu-22.04-16core
298298
needs: [version, upload-artifacts]
299299
steps:
300300
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
matrix:
3434
os:
3535
[
36-
{ name: linux, arch: X64, image: ubuntu-22.04 },
37-
{ name: linux-arm, arch: ARM64, image: ubuntu-22.04-arm },
38-
{ name: macOS, arch: ARM64, image: macos-15, use_lld: true },
39-
{ name: windows, arch: X64, image: windows-2025 },
36+
{ name: linux, arch: X64, image: ubuntu-22.04-16core },
37+
{ name: linux-arm, arch: ARM64, image: ubuntu-22.04-arm-16core },
38+
{ name: macOS, arch: ARM64, image: macos-15-xlarge, use_lld: true },
39+
{ name: windows, arch: X64, image: windows-2025-16core },
4040
]
4141
config: [
4242
# Default build: no suffix or additional bazel arguments
@@ -46,7 +46,7 @@ jobs:
4646
]
4747
include:
4848
# Add an Address Sanitizer (ASAN) build on Linux for additional checking.
49-
- os: { name: linux, arch: X64, image: ubuntu-22.04 }
49+
- os: { name: linux, arch: X64, image: ubuntu-22.04-16core }
5050
config: { suffix: -asan }
5151
# TODO (later): The custom Windows-debug configuration consistently runs out of disk
5252
# space on CI, disable it for now. Once https://github.com/bazelbuild/bazel/issues/21615
@@ -55,17 +55,17 @@ jobs:
5555
# - os: { name : windows, image : windows-2025 }
5656
# config: { suffix: -debug, bazel-args: --config=windows_dbg }
5757
exclude:
58-
- os: { name: windows, arch: X64, image: windows-2025 }
58+
- os: { name: windows, arch: X64, image: windows-2025-16core }
5959
config: { suffix: -debug }
6060
# due to resource constraints, exclude the macOS and x64 Linux debug runners for now.
6161
# linux-asan and arm64 linux-debug should provide sufficient coverage for building in the
6262
# debug configuration.
63-
- os: { name: macOS, arch: ARM64 ,image: macos-15 }
63+
- os: { name: macOS, arch: ARM64 ,image: macos-15-xlarge }
6464
config: { suffix: -debug }
65-
- os: { name: linux, arch: X64, image: ubuntu-22.04 }
65+
- os: { name: linux, arch: X64, image: ubuntu-22.04-16core }
6666
config: { suffix: -debug }
6767
# linux release is handled by separate test-linux job
68-
- os: { name: linux, arch: X64, image: ubuntu-22.04 }
68+
- os: { name: linux, arch: X64, image: ubuntu-22.04-16core }
6969
config: { suffix: '' }
7070
fail-fast: false
7171
name: test (${{ matrix.os.name }}, ${{ matrix.os.image}}${{matrix.config.suffix != '' && format(', {0}', matrix.config.suffix) || ''}})
@@ -85,7 +85,7 @@ jobs:
8585
test-linux:
8686
uses: ./.github/workflows/_bazel.yml
8787
with:
88-
image: ubuntu-22.04
88+
image: ubuntu-22.04-16core
8989
os_name: linux
9090
arch_name: 'X64'
9191
suffix: ''
@@ -108,7 +108,7 @@ jobs:
108108
WORKERS_MIRROR_URL: ${{ secrets.WORKERS_MIRROR_URL }}
109109

110110
check-snapshot:
111-
runs-on: ubuntu-22.04
111+
runs-on: ubuntu-22.04-16core
112112
steps:
113113
- uses: actions/checkout@v4
114114
with:
@@ -170,7 +170,7 @@ jobs:
170170
workers-sdk-test:
171171
needs: [test-linux, check-snapshot]
172172
name: Run workers-sdk tests
173-
runs-on: ubuntu-22.04
173+
runs-on: ubuntu-22.04-16core
174174
steps:
175175
- name: Checkout workers-sdk
176176
uses: actions/checkout@v4
@@ -245,6 +245,6 @@ jobs:
245245
needs: [test-linux]
246246
uses: ./.github/workflows/_wpt.yml
247247
with:
248-
image: 'ubuntu-22.04'
248+
image: 'ubuntu-22.04-16core'
249249
logs_artifact: 'test-logs-linux-X64.zip'
250250
report_artifact: 'wpt-report-linux-X64.json'

0 commit comments

Comments
 (0)