Skip to content

Commit 4ced120

Browse files
tomzxducalex
authored andcommitted
Fixed CI (clean up runner in CI) (#276)
(cherry picked from commit bc85754)
1 parent d9b0c17 commit 4ced120

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: ci
22

3-
on:
3+
on:
44
workflow_dispatch: # Start a workflow
55
push:
66

@@ -9,6 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12+
# Remove ~18 GiB of preinstalled software to have more disk space during the build
13+
- name: Cleanup runner
14+
run: |
15+
df -h
16+
sudo rm -rf /opt/microsoft /usr/local/.ghcup /usr/local/julia* /usr/share/dotnet /usr/share/swift /usr/lib/llvm*
17+
df -h
18+
1219
- name: Checkout repository
1320
uses: actions/checkout@v4
1421

0 commit comments

Comments
 (0)