Skip to content

Commit

Permalink
HACK: Increase swapfile size to 10G
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Feb 21, 2025
1 parent 1c96d5c commit 410b53d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-swift-debugging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
docker rmi $(docker image ls -aq)
fi
df -h
- name: Increase swapfile
run: |
sudo swapoff -a
sudo fallocate -l 10G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- uses: actions/checkout@v4
- name: Create .gclient file
run: |
Expand Down

0 comments on commit 410b53d

Please sign in to comment.