Skip to content

Commit 36aa6eb

Browse files
authored
Use standard size runners for CI jobs (#537)
Signed-off-by: Matt Leon <mattleon@google.com>
1 parent 94091cd commit 36aa6eb

2 files changed

Lines changed: 30 additions & 19 deletions

File tree

.github/workflows/format.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
addlicense:
4444
name: verify licenses
4545

46-
runs-on: ubuntu-24.04-16core
46+
runs-on: ubuntu-24.04
4747

4848
steps:
4949
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -63,7 +63,7 @@ jobs:
6363
buildifier:
6464
name: check format with buildifier
6565

66-
runs-on: ubuntu-24.04-16core
66+
runs-on: ubuntu-24.04
6767

6868
steps:
6969
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -83,7 +83,7 @@ jobs:
8383
rules_rust:
8484
name: check format with rules_rust
8585

86-
runs-on: ubuntu-24.04-16core
86+
runs-on: ubuntu-24.04
8787

8888
steps:
8989
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -106,7 +106,7 @@ jobs:
106106
clang_format:
107107
name: check format with clang-format
108108

109-
runs-on: ubuntu-24.04-16core
109+
runs-on: ubuntu-24.04
110110

111111
steps:
112112
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -122,7 +122,7 @@ jobs:
122122
clang_tidy:
123123
name: check format with clang-tidy
124124

125-
runs-on: ubuntu-24.04-16core
125+
runs-on: ubuntu-24.04
126126

127127
steps:
128128
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/test.yml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,14 @@ jobs:
4343
test_data:
4444
name: build test data
4545

46-
runs-on: ubuntu-24.04-16core
46+
runs-on: ubuntu-24.04
4747

4848
steps:
49+
- name: Free up disk space
50+
run: |
51+
sudo rm -rf /usr/share/dotnet /usr/share/swift /usr/local/.ghcup /usr/local/julia* /usr/local/lib/android /usr/local/share/chromium /opt/microsoft /opt/google /usr/lib/firefox /opt/hostedtoolcache
52+
echo "Free disk space: " $(df -h /)
53+
4954
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5055

5156
- uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0
@@ -96,19 +101,19 @@ jobs:
96101
include:
97102
- name: 'NullVM on Linux/x86_64'
98103
engine: 'null'
99-
os: ubuntu-24.04-16core
104+
os: ubuntu-24.04
100105
arch: x86_64
101106
action: test
102107
flags: --config=gcc
103108
- name: 'NullVM on Linux/x86_64 with ASan'
104109
engine: 'null'
105-
os: ubuntu-24.04-16core
110+
os: ubuntu-24.04
106111
arch: x86_64
107112
action: test
108113
flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system
109114
- name: 'NullVM on Linux/x86_64 with TSan'
110115
engine: 'null'
111-
os: ubuntu-24.04-16core
116+
os: ubuntu-24.04
112117
arch: x86_64
113118
action: test
114119
flags: --config=hermetic-llvm --config=clang-tsan
@@ -121,31 +126,31 @@ jobs:
121126
- name: 'V8 on Linux/x86_64'
122127
engine: 'v8'
123128
repo: 'v8'
124-
os: ubuntu-24.04-16core
129+
os: ubuntu-24.04
125130
arch: x86_64
126131
action: test
127132
flags: --config=hermetic-llvm --define=crypto=system
128133
cache: true
129134
- name: 'V8 on Linux/x86_64 with ASan'
130135
engine: 'v8'
131136
repo: 'v8'
132-
os: ubuntu-24.04-16core
137+
os: ubuntu-24.04
133138
arch: x86_64
134139
action: test
135140
flags: --config=hermetic-llvm --config=clang-asan
136141
cache: true
137142
- name: 'V8 on Linux/x86_64 with TSan'
138143
engine: 'v8'
139144
repo: 'v8'
140-
os: ubuntu-24.04-16core
145+
os: ubuntu-24.04
141146
arch: x86_64
142147
action: test
143148
flags: --config=hermetic-llvm --config=clang-tsan
144149
cache: true
145150
- name: 'V8 on Linux/x86_64 with GCC'
146151
engine: 'v8'
147152
repo: 'v8'
148-
os: ubuntu-24.04-16core
153+
os: ubuntu-24.04
149154
arch: x86_64
150155
action: test
151156
flags: --config=gcc
@@ -170,7 +175,7 @@ jobs:
170175
- name: 'WAMR interp on Linux/x86_64'
171176
engine: 'wamr-interp'
172177
repo: 'com_github_bytecodealliance_wasm_micro_runtime'
173-
os: ubuntu-24.04-16core
178+
os: ubuntu-24.04
174179
arch: x86_64
175180
action: test
176181
flags: --config=hermetic-llvm
@@ -184,7 +189,7 @@ jobs:
184189
- name: 'WAMR jit on Linux/x86_64'
185190
engine: 'wamr-jit'
186191
repo: 'com_github_bytecodealliance_wasm_micro_runtime'
187-
os: ubuntu-24.04-16core
192+
os: ubuntu-24.04
188193
arch: x86_64
189194
action: test
190195
flags: --config=hermetic-llvm
@@ -201,7 +206,7 @@ jobs:
201206
- name: 'WasmEdge on Linux/x86_64'
202207
engine: 'wasmedge'
203208
repo: 'com_github_wasmedge_wasmedge'
204-
os: ubuntu-24.04-16core
209+
os: ubuntu-24.04
205210
arch: x86_64
206211
action: test
207212
flags: --config=hermetic-llvm
@@ -215,14 +220,14 @@ jobs:
215220
- name: 'Wasmtime on Linux/x86_64'
216221
engine: 'wasmtime'
217222
repo: 'com_github_bytecodealliance_wasmtime'
218-
os: ubuntu-24.04-16core
223+
os: ubuntu-24.04
219224
arch: x86_64
220225
action: test
221226
flags: --config=hermetic-llvm -c opt
222227
- name: 'Wasmtime on Linux/x86_64 with ASan'
223228
engine: 'wasmtime'
224229
repo: 'com_github_bytecodealliance_wasmtime'
225-
os: ubuntu-24.04-16core
230+
os: ubuntu-24.04
226231
arch: x86_64
227232
action: test
228233
flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system
@@ -236,7 +241,7 @@ jobs:
236241
- name: 'Wasmtime on Linux/s390x'
237242
engine: 'wasmtime'
238243
repo: 'com_github_bytecodealliance_wasmtime'
239-
os: ubuntu-24.04-16core
244+
os: ubuntu-24.04
240245
arch: s390x
241246
action: test
242247
flags: --config=clang --test_timeout=1800
@@ -252,6 +257,12 @@ jobs:
252257
flags: --config=hermetic-llvm
253258

254259
steps:
260+
- name: Free up disk space
261+
if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }}
262+
run: |
263+
sudo rm -rf /usr/share/dotnet /usr/share/swift /usr/local/.ghcup /usr/local/julia* /usr/local/lib/android /usr/local/share/chromium /opt/microsoft /opt/google /usr/lib/firefox /opt/hostedtoolcache
264+
echo "Free disk space: " $(df -h /)
265+
255266
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
256267

257268
- name: Compute job hash

0 commit comments

Comments
 (0)