From 48e08b8c6b1e0ec1345a971433b4c2e195a460b1 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 14 Jul 2024 18:31:01 -0400 Subject: [PATCH] github: reorganize workflows and add drybuilds --- ...ake-update-inputs.yml => flake-update.yml} | 0 ...kehub-publish-rolling.yml => flakehub.yml} | 0 .../{git-sync-mirrors.yml => git-mirror.yml} | 0 .../{flake-checks.yml => nix-check.yml} | 0 .github/workflows/nix-drybuild.yml | 53 +++++++++++++++++++ 5 files changed, 53 insertions(+) rename .github/workflows/{flake-update-inputs.yml => flake-update.yml} (100%) rename .github/workflows/{flakehub-publish-rolling.yml => flakehub.yml} (100%) rename .github/workflows/{git-sync-mirrors.yml => git-mirror.yml} (100%) rename .github/workflows/{flake-checks.yml => nix-check.yml} (100%) create mode 100644 .github/workflows/nix-drybuild.yml diff --git a/.github/workflows/flake-update-inputs.yml b/.github/workflows/flake-update.yml similarity index 100% rename from .github/workflows/flake-update-inputs.yml rename to .github/workflows/flake-update.yml diff --git a/.github/workflows/flakehub-publish-rolling.yml b/.github/workflows/flakehub.yml similarity index 100% rename from .github/workflows/flakehub-publish-rolling.yml rename to .github/workflows/flakehub.yml diff --git a/.github/workflows/git-sync-mirrors.yml b/.github/workflows/git-mirror.yml similarity index 100% rename from .github/workflows/git-sync-mirrors.yml rename to .github/workflows/git-mirror.yml diff --git a/.github/workflows/flake-checks.yml b/.github/workflows/nix-check.yml similarity index 100% rename from .github/workflows/flake-checks.yml rename to .github/workflows/nix-check.yml diff --git a/.github/workflows/nix-drybuild.yml b/.github/workflows/nix-drybuild.yml new file mode 100644 index 00000000..9ef42e9d --- /dev/null +++ b/.github/workflows/nix-drybuild.yml @@ -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