Skip to content

Commit be55683

Browse files
committed
ci: increase swap size
1 parent 07e12a7 commit be55683

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
options: --privileged
2222
name: linux - ${{ matrix.linux_image }} | ${{ matrix.config }}
2323
steps:
24-
# when building the monorepo we hit the memory limit, so need to setup a swap space
25-
# - name: setup swap Space
26-
# run: |
27-
# fallocate -l 32G /swapfile
28-
# chmod 600 /swapfile
29-
# mkswap /swapfile
30-
# swapon /swapfile
31-
# free -h
3224
- name: install build tools
3325
run: |
3426
apt --quiet update --yes
3527
apt --quiet install --yes build-essential cmake pkg-config git curl zip unzip tar procps
3628
- name: check swap size
3729
run: free -h
30+
- name: increase swap space
31+
run: |
32+
swapoff --all
33+
fallocate -l 32G /swapfile
34+
chmod 600 /swapfile
35+
mkswap /swapfile
36+
swapon /swapfile
37+
free -h
3838
- name: install build deps
3939
run: |
4040
apt --quiet install --yes libxmu-dev libxi-dev libgl-dev libgles-dev libgtk-4-dev libpulse-dev

repos/ruisapp

0 commit comments

Comments
 (0)