Skip to content

Commit 39b5699

Browse files
committed
Use easimon/maximize-build-space to have more space for us.
1 parent b29e4ef commit 39b5699

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/BuildPythonWheels.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ jobs:
4747
python-version: ${{ fromJson(inputs.py_versions) }}
4848
mnl-version: ${{ fromJson(inputs.mnl_versions) }}
4949
steps:
50+
- name: Maximize build space
51+
run: |
52+
echo "Memory and swap:"
53+
sudo free -h
54+
echo
55+
sudo swapon --show
56+
echo
57+
58+
echo "Available storage:"
59+
sudo df -h
60+
echo
61+
62+
sudo rm -rf /usr/share/dotnet
63+
sudo rm -rf /usr/local/lib/android
64+
sudo rm -rf /opt/ghc
65+
sudo rm -rf /opt/hostedtoolcache/CodeQL
66+
sudo docker image prune --all --force
67+
#uses: easimon/maximize-build-space@v10
68+
#with:
69+
# root-reserve-mb: 32768
70+
# swap-size-mb: 8096
71+
# remove-dotnet: 'true'
72+
5073
- uses: actions/checkout@v4
5174

5275
- name: Set up Python ${{ env.PY_VER }}

0 commit comments

Comments
 (0)