Skip to content

Commit

Permalink
CI: Run maximize-build-space action before building
Browse files Browse the repository at this point in the history
  • Loading branch information
networkException committed Jul 11, 2023
1 parent 4464386 commit 939557b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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-
Expand Down

0 comments on commit 939557b

Please sign in to comment.