Skip to content

Commit e4d7317

Browse files
authored
Free up space from the CI build image (#164)
Adds a `free-up-space` stage to the ci pipeline to free up disk space from the build image in order to prevent errors of the form: ``` System.IO.IOException: No space left on device ```
1 parent 3bd92bc commit e4d7317

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
env:
1818
CONAN_USER_HOME: ${{ github.workspace }}
1919
steps:
20+
- name: free-up-space
21+
run: |
22+
df -h
23+
sudo rm -rf /usr/share/dotnet
24+
sudo rm -rf /opt/ghc
25+
sudo rm -rf "/usr/local/share/boost"
26+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
27+
df -h
2028
- uses: actions/checkout@v3
2129
with:
2230
fetch-depth: 0

0 commit comments

Comments
 (0)