Disable disk space maximization for arm64 runners #309
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generators | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
minimal: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#minimal-iso" | |
run: | | |
nix build .#minimal-iso | |
# - name: Upload .#minimal-iso | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: minimal.iso | |
# path: ./result/iso/nixos.iso | |
- name: "Build: .#minimal-install-iso" | |
run: | | |
nix build .#minimal-install-iso | |
# - name: Upload .#minimal-install-iso | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: minimal-install.iso | |
# path: ./result/iso/nixos-*.iso | |
# FIXME: Building `.#mishy-raw-efi` always causes the github actions | |
# runner to run out of disk space and fail. | |
# mishy: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Maximize build space | |
# uses: AdityaGarg8/[email protected] | |
# with: | |
# verbose: 'true' | |
# remove-dotnet: 'true' | |
# remove-android: 'true' | |
# remove-haskell: 'true' | |
# remove-codeql: 'true' | |
# remove-docker-images: 'true' | |
# remove-large-packages: 'true' | |
# remove-cached-tools: 'true' | |
# remove-swapfile: 'true' | |
# # Derivations are built under /tmp | |
# - name: Bind mount /tmp | |
# run: | | |
# sudo mkdir /mnt/nix /nix | |
# sudo chmod 0755 /nix | |
# sudo mount --bind /mnt/nix /nix | |
# # - name: Set swap space | |
# # uses: pierotofy/set-swap-space@master | |
# # with: | |
# # swap-size-gb: 10 | |
# - name: Install Nix | |
# uses: cachix/install-nix-action@v27 | |
# - name: Clone Repository | |
# uses: actions/checkout@v4 | |
# | |
# - name: "Build: .#mishi-raw-efi" | |
# run: | | |
# nix build .#mishy-raw-efi | |
pilab: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#pilab-sd" | |
run: | | |
nix build .#pilab-sd | |
keyberry: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#keyberry-sd" | |
run: | | |
nix build .#keyberry-sd | |
stashy: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#stashy-sd" | |
run: | | |
nix build .#stashy-sd | |
zerostash: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#zerostash-sd" | |
run: | | |
nix build .#zerostash-sd | |
mangoshake: | |
runs-on: ubuntu-24.04-arm | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#mangoshake-sd" | |
run: | | |
nix build .#mangoshake-sd |