Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
ci(publish): put Linux build swapfile on /mnt to avoid Text file busy
Richie McIlroycb4017b2f44b
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 152900c0a..b7e8599d4 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -261,16 +261,21 @@ jobs:# The release profile uses fat LTO + full debuginfo, so the final link# peaks well above the 16GB stock Linux runner and gets OOM-killed- # ("runner received a shutdown signal"). Add swap so the link can spill- # to disk instead of dying. Linux-only; macOS/Windows are unaffected.+ # ("runner received a shutdown signal"). The runner already ships an+ # active /swapfile (resizing it fails with "Text file busy"), so add a+ # large swapfile on the roomy /mnt disk on top of the existing swap.+ # Linux-only; macOS/Windows are unaffected.- name: Increase swap space (Linux)if: ${{ runner.os == 'Linux' }}shell: bashrun: |- sudo fallocate -l 10G /swapfile- sudo chmod 600 /swapfile- sudo mkswap /swapfile- sudo swapon /swapfile+ sudo swapoff /mnt/swapfile 2>/dev/null || true+ sudo rm -f /mnt/swapfile+ sudo fallocate -l 16G /mnt/swapfile+ sudo chmod 600 /mnt/swapfile+ sudo mkswap /mnt/swapfile+ sudo swapon /mnt/swapfile+ swapon --showfree -h- name: Build app