From 882c96ef5246aff39dc7a6f9b3422c6183ca01b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Mon, 30 Sep 2024 11:28:53 +0200 Subject: [PATCH] All NixOS configurations --- .forgejo/workflows/test.yaml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index f7b16ab..006ee45 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -1,13 +1,45 @@ -on: [push] +on: + push: + branches: [main] + pull_request: + types: [opened, synchronize, reopened] jobs: + ## NixOS configurations + + nixosConfiguration-all: + runs-on: native + steps: + - uses: actions/checkout@v4 + - run: nix build .#nixosConfigurations.all.config.system.build.toplevel + + nixosConfiguration-mastodon: + runs-on: native + steps: + - uses: actions/checkout@v4 + - run: nix build .#nixosConfigurations.mastodon.config.system.build.toplevel + + nixosConfiguration-peertube: + runs-on: native + steps: + - uses: actions/checkout@v4 + - run: nix build .#nixosConfigurations.peertube.config.system.build.toplevel + nixosConfiguration-pixelfed: runs-on: native steps: - uses: actions/checkout@v4 - run: nix build .#nixosConfigurations.pixelfed.config.system.build.toplevel + ## Checks + + check-other-pixelfed-garage-fixme: + runs-on: native + steps: + - uses: actions/checkout@v4 + - run: nix build .#checks.x86_64-linux.pixelfed-garage -L + check-pixelfed-garage: runs-on: native steps: