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).
This commit is contained in:
Jamil
2025-01-21 21:55:19 -08:00
committed by GitHub
parent 7bf3a9d129
commit 838b18e8d1

View File

@@ -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