Skip to content

Commit 410b53d

Browse files
HACK: Increase swapfile size to 10G
1 parent 1c96d5c commit 410b53d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-swift-debugging.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
docker rmi $(docker image ls -aq)
1919
fi
2020
df -h
21+
22+
- name: Increase swapfile
23+
run: |
24+
sudo swapoff -a
25+
sudo fallocate -l 10G /swapfile
26+
sudo chmod 600 /swapfile
27+
sudo mkswap /swapfile
28+
sudo swapon /swapfile
29+
sudo swapon --show
30+
2131
- uses: actions/checkout@v4
2232
- name: Create .gclient file
2333
run: |

0 commit comments

Comments
 (0)