Skip to content

Commit afdba12

Browse files
committed
Free up space on Ubuntu runner for nuttx spec tests.
LLVM 21 update uses more disk space and makes the standard runner fail with "No space left on device". Using the [free disk space action](https://github.com/marketplace/actions/free-disk-space-ubuntu) to delete the unused Android, Haskell, and .NET runtimes frees up space on the runner.
1 parent f4dc4e1 commit afdba12

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/spec_test_on_nuttx.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ jobs:
3737
permissions:
3838
contents: read
3939
actions: write
40+
uses: jlumbroso/[email protected]
41+
with:
42+
# Deletes Android, Haskell, and .NET runtimes from the runner, freeing
43+
# about 15 GB.
44+
android: true
45+
dotnet: true
46+
haskell: true
47+
# Keeps the tool cache, some large packages, docker images, and swap.
48+
# Some of these could also be removed if more space is needed.
49+
tool-cache: false
50+
large-packages: false
51+
docker-images: false
52+
swap-storage: false
4053
uses: ./.github/workflows/build_llvm_libraries.yml
4154
with:
4255
os: "ubuntu-22.04"

0 commit comments

Comments
 (0)