github: reorganize workflows and add drybuilds

This commit is contained in:
Aly Raffauf 2024-07-14 18:31:01 -04:00
parent 0353e44e1f
commit 48e08b8c6b
5 changed files with 53 additions and 0 deletions

53
.github/workflows/nix-drybuild.yml vendored Normal file
View file

@ -0,0 +1,53 @@
name: "nix-drybuild"
on:
push:
paths-ignore:
- '.github/**'
- '_img/**'
workflow_dispatch:
jobs:
fallarbor-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- name: Drybuild fallarbor
run: nix build --dry-run .#nixosConfigurations.fallarbor.config.system.build.toplevel
lavaridge-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- name: Drybuild lavaridge
run: nix build --dry-run .#nixosConfigurations.lavaridge.config.system.build.toplevel
mauville-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- name: Drybuild mauville
run: nix build --dry-run .#nixosConfigurations.mauville.config.system.build.toplevel
petalburg-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- name: Drybuild petalburg
run: nix build --dry-run .#nixosConfigurations.petalburg.config.system.build.toplevel
rustboro-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- name: Drybuild rustboro
run: nix build --dry-run .#nixosConfigurations.rustboro.config.system.build.toplevel