CI: Run maximize-build-space action before building

This commit is contained in:
networkException 2023-07-11 15:00:57 +02:00
parent 446438675b
commit 939557bb5b
No known key found for this signature in database
GPG key ID: E3877443AE684391

View file

@ -13,6 +13,15 @@ jobs:
concurrency:
group: CI
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
overprovision-lvm: 'true'
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Checkout
uses: actions/checkout@v3
- name: "Install Nix"
@ -30,8 +39,6 @@ jobs:
env:
GC_DONT_GC: 1
run: |
sudo mount -o remount,size=30G /run/user/1001
for iso in $(nix flake show --json | nix run nixpkgs#jq -- -r keys[]); do
nix build .#$iso
split -d result/iso/*.iso -b 1G $iso.iso-part-