Skip to content

Commit 6f7cac5

Browse files
committed
Check if we're really running out of memory
1 parent b004256 commit 6f7cac5

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -326,19 +326,9 @@ jobs:
326326
key: ${{ matrix.name }}
327327
max-size: 800M
328328

329-
- name: Setup swap for linking
330-
run: |
331-
mkdir -p /tmp/swap
332-
mount -t tmpfs -o size=2G tmpfs /tmp/swap
333-
dd if=/dev/zero of=/tmp/swap/swapfile bs=1M count=2048
334-
chmod 600 /tmp/swap/swapfile
335-
mkswap /tmp/swap/swapfile
336-
swapon /tmp/swap/swapfile
337-
free -h
338-
339329
- name: Configure
340330
working-directory: ${{github.workspace}}
341-
run: CXX=g++ cmake -Bbuild -GNinja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
331+
run: CXX=g++ cmake -Bbuild -GNinja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DENABLE_SFIZZ=0
342332

343333
- name: Build standalone
344334
working-directory: ${{github.workspace}}

0 commit comments

Comments
 (0)