We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da535ad commit b004256Copy full SHA for b004256
.github/workflows/cmake.yml
@@ -326,6 +326,16 @@ jobs:
326
key: ${{ matrix.name }}
327
max-size: 800M
328
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
+
339
- name: Configure
340
working-directory: ${{github.workspace}}
341
run: CXX=g++ cmake -Bbuild -GNinja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
0 commit comments