Nicolas Jeannerod
375642bb5e
Some checks failed
/ check-mastodon-garage (pull_request) Failing after 32s
/ check-pixelfed-garage (pull_request) Failing after 50m46s
/ nixosConfiguration-all (pull_request) Failing after 11s
/ nixosConfiguration-mastodon (pull_request) Failing after 11s
/ nixosConfiguration-peertube (pull_request) Successful in 39s
/ nixosConfiguration-pixelfed (pull_request) Successful in 48s
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
{
|
|
on = {
|
|
push.branches = ["main"],
|
|
pull_request.types = ["opened", "synchronize", "reopened"],
|
|
},
|
|
|
|
jobs =
|
|
std.record.from_array
|
|
(
|
|
std.array.flatten
|
|
[
|
|
(
|
|
std.array.map
|
|
(
|
|
fun c =>
|
|
{
|
|
field = "nixosConfiguration-%{c}",
|
|
value = {
|
|
runs-on = "native",
|
|
steps = [
|
|
{ uses = "actions/checkout@v4" },
|
|
{ run = "nix build .#nixosConfigurations.%{c}.config.system.build.toplevel" },
|
|
]
|
|
}
|
|
}
|
|
)
|
|
["all", "mastodon", "peertube", "pixelfed"]
|
|
),
|
|
(
|
|
std.array.map
|
|
(
|
|
fun c =>
|
|
{
|
|
field = "check-%{c}",
|
|
value = {
|
|
runs-on = "native",
|
|
steps = [
|
|
{ uses = "actions/checkout@v4" },
|
|
{ run = "nix build .#checks.x86_64-linux.%{c} -L" },
|
|
]
|
|
}
|
|
}
|
|
)
|
|
["mastodon-garage", "pixelfed-garage"]
|
|
)
|
|
]
|
|
),
|
|
}
|