Enter Nickel
This commit is contained in:
parent
1f30db6cb9
commit
52475a583c
67
.forgejo/workflows/ci.ncl
Normal file
67
.forgejo/workflows/ci.ncl
Normal file
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
on = {
|
||||
push.branches = ["main", "forgejo-ci-test"],
|
||||
pull_request.types = ["opened", "synchronize", "reopened"],
|
||||
},
|
||||
|
||||
jobs = {
|
||||
|
||||
nixosConfiguration-all = {
|
||||
runs-on = "native",
|
||||
steps = [
|
||||
{ uses = "actions/checkout@v4" },
|
||||
{ run = "nix build .#nixosConfigurations.all.config.system.build.toplevel" },
|
||||
],
|
||||
},
|
||||
|
||||
check-pixelfed-garage = {
|
||||
runs-on = "native",
|
||||
steps = [
|
||||
{ uses = "actions/checkout@4" },
|
||||
{ run = "nix build .#checks.x86_64-linux.pixelfed-garage -L" },
|
||||
]
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
## 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-mastodon-garage:
|
||||
## runs-on: native
|
||||
## steps:
|
||||
## - uses: actions/checkout@v4
|
||||
## - run: nix build .#checks.x86_64-linux.mastodon-garage -L
|
||||
|
||||
## check-pixelfed-garage:
|
||||
## runs-on: native
|
||||
## steps:
|
||||
## - uses: actions/checkout@v4
|
||||
## - run: nix build .#checks.x86_64-linux.pixelfed-garage -L
|
21
.forgejo/workflows/ci.yaml
Normal file
21
.forgejo/workflows/ci.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
jobs:
|
||||
check-pixelfed-garage:
|
||||
runs-on: native
|
||||
steps:
|
||||
- uses: actions/checkout@4
|
||||
- run: nix build .#checks.x86_64-linux.pixelfed-garage -L
|
||||
nixosConfiguration-all:
|
||||
runs-on: native
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix build .#nixosConfigurations.all.config.system.build.toplevel
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- forgejo-ci-test
|
|
@ -1,47 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main, forgejo-ci-test]
|
||||
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:
|
||||
- uses: actions/checkout@v4
|
||||
- run: nix build .#checks.x86_64-linux.pixelfed-garage -L
|
Reference in a new issue