From 838b18e8d1d89ca372a19c9653406d819cbb5e05 Mon Sep 17 00:00:00 2001 From: Jamil Date: Tue, 21 Jan 2025 21:55:19 -0800 Subject: [PATCH] ci: Don't enable more swap space (#7829) It seems that runners consistently have a 4 GB swapfile enabled now, so this seems to be unneeded and causing a conflict with the Ubuntu-22.04-arm runner which amusingly [uses the same path](https://github.com/firezone/firezone/actions/runs/12895498951/job/35956521688). --- .github/workflows/_tauri.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/_tauri.yml b/.github/workflows/_tauri.yml index 432a4ae71..025361ff4 100644 --- a/.github/workflows/_tauri.yml +++ b/.github/workflows/_tauri.yml @@ -73,12 +73,6 @@ jobs: shell: bash # AzureSignTool >= 5 needs .NET 8. windows-2019 runner only has .NET 7. run: dotnet tool install --global AzureSignTool --version 4.0.1 - - name: Check if swap needed - if: ${{ runner.os == 'Linux' }} - run: free -m - - name: Enable swap - if: ${{ runner.os == 'Linux' }} - run: sudo fallocate -l 8G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile && free -m - name: Build release exe and MSI / deb env: CARGO_PROFILE_RELEASE_LTO: thin # Fat LTO is getting too slow / RAM-hungry on Tauri builds