From 8d5abd3af19506e0d48235d1900ad8e854716270 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Wed, 8 Apr 2026 10:38:02 -0400 Subject: [PATCH 1/4] Add runner step to free up disk space Signed-off-by: Matt Leon --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d75dcd1..0f921a07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,6 +46,11 @@ jobs: runs-on: ubuntu-24.04-16core steps: + - name: Free up disk space + run: | + 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 + echo "Free disk space: " $(df -h /) + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0 @@ -252,6 +257,11 @@ jobs: flags: --config=hermetic-llvm steps: + - name: Free up disk space + run: | + 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 + echo "Free disk space: " $(df -h /) + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Compute job hash From 6ac63004bb661d644884da0ec24bbfc86e8d3022 Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Wed, 8 Apr 2026 10:38:25 -0400 Subject: [PATCH 2/4] Use standard size runners Signed-off-by: Matt Leon --- .github/workflows/test.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f921a07..8dbfc3f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: test_data: name: build test data - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - name: Free up disk space @@ -101,19 +101,19 @@ jobs: include: - name: 'NullVM on Linux/x86_64' engine: 'null' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=gcc - name: 'NullVM on Linux/x86_64 with ASan' engine: 'null' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system - name: 'NullVM on Linux/x86_64 with TSan' engine: 'null' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-tsan @@ -126,7 +126,7 @@ jobs: - name: 'V8 on Linux/x86_64' engine: 'v8' repo: 'v8' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --define=crypto=system @@ -134,7 +134,7 @@ jobs: - name: 'V8 on Linux/x86_64 with ASan' engine: 'v8' repo: 'v8' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-asan @@ -142,7 +142,7 @@ jobs: - name: 'V8 on Linux/x86_64 with TSan' engine: 'v8' repo: 'v8' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-tsan @@ -150,7 +150,7 @@ jobs: - name: 'V8 on Linux/x86_64 with GCC' engine: 'v8' repo: 'v8' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=gcc @@ -175,7 +175,7 @@ jobs: - name: 'WAMR interp on Linux/x86_64' engine: 'wamr-interp' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm @@ -189,7 +189,7 @@ jobs: - name: 'WAMR jit on Linux/x86_64' engine: 'wamr-jit' repo: 'com_github_bytecodealliance_wasm_micro_runtime' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm @@ -206,7 +206,7 @@ jobs: - name: 'WasmEdge on Linux/x86_64' engine: 'wasmedge' repo: 'com_github_wasmedge_wasmedge' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm @@ -220,14 +220,14 @@ jobs: - name: 'Wasmtime on Linux/x86_64' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm -c opt - name: 'Wasmtime on Linux/x86_64 with ASan' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: x86_64 action: test flags: --config=hermetic-llvm --config=clang-asan --define=crypto=system @@ -241,7 +241,7 @@ jobs: - name: 'Wasmtime on Linux/s390x' engine: 'wasmtime' repo: 'com_github_bytecodealliance_wasmtime' - os: ubuntu-24.04-16core + os: ubuntu-24.04 arch: s390x action: test flags: --config=clang --test_timeout=1800 From 09003e9e41a2f8020144155885bec8e55d4b07fb Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Wed, 8 Apr 2026 10:43:37 -0400 Subject: [PATCH 3/4] Use standard size runners in format workflows Signed-off-by: Matt Leon --- .github/workflows/format.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 30865544..72db1063 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -43,7 +43,7 @@ jobs: addlicense: name: verify licenses - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -63,7 +63,7 @@ jobs: buildifier: name: check format with buildifier - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -83,7 +83,7 @@ jobs: rules_rust: name: check format with rules_rust - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -106,7 +106,7 @@ jobs: clang_format: name: check format with clang-format - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -122,7 +122,7 @@ jobs: clang_tidy: name: check format with clang-tidy - runs-on: ubuntu-24.04-16core + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 From 18e820d728c5b5b3f0823f9951f66431db40adfc Mon Sep 17 00:00:00 2001 From: Matt Leon Date: Wed, 8 Apr 2026 10:46:51 -0400 Subject: [PATCH 4/4] Only run step to free disk space on ubuntu based runners Signed-off-by: Matt Leon --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8dbfc3f2..4315a740 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -258,6 +258,7 @@ jobs: steps: - name: Free up disk space + if: ${{ matrix.deps != '' && startsWith(matrix.os, 'ubuntu') }} run: | 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 echo "Free disk space: " $(df -h /)