CI: Run maximize-build-space action before building
This commit is contained in:
parent
446438675b
commit
939557bb5b
1 changed files with 9 additions and 2 deletions
11
.github/workflows/CI.yml
vendored
11
.github/workflows/CI.yml
vendored
|
|
@ -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-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue