Skip to content

Commit

Permalink
Build minimal ISOs
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Oct 12, 2024
1 parent d078747 commit a4a9fdd
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 4 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/generators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: generators
on:
push:
workflow_dispatch:

jobs:
nix-setup:
uses: ./.github/workflows/nix-setup.yml

minimal-iso:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- uses: actions/checkout@v4
# - name: Install Nix
# uses: cachix/install-nix-action@v26
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- name: minimal-iso
run: |
nix build .#minimal-iso
minimal-install-iso:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- uses: actions/checkout@v4
# - name: Install Nix
# uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- name: minimal-install-iso
run: |
nix build .#minimal-install-iso
35 changes: 35 additions & 0 deletions .github/workflows/machines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: machines
on:
pull_request:
push:
workflow_dispatch:

jobs:
nix-setup:
uses: ./.github/workflows/nix-setup.yml

clawsiecats-minimal:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- uses: actions/checkout@v4
# - name: Install Nix
# uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- name: clawsiecats-minimal
run: |
nix build .#nixosConfigurations.clawsiecats-minimal.config.system.build.toplevel
nixin:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- uses: actions/checkout@v4
# - name: Install Nix
# uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- name: nixin
run: |
nix build .#nixosConfigurations.nixin.config.system.build.toplevel
8 changes: 4 additions & 4 deletions .github/workflows/nix-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v2
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
remove-dotnet: 'true'
remove-android: 'true'
Expand All @@ -19,6 +19,6 @@ jobs:
with:
swap-size-gb: 10
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable

0 comments on commit a4a9fdd

Please sign in to comment.