CI
This commit is contained in:
parent
7d833cdc0e
commit
a3c7257add
2 changed files with 2 additions and 12 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
@ -36,8 +36,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: aciceri-fleet
|
name: aciceri-fleet
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
- run: sed -i 's/#\(.*\).*\#.* ga-uncomment/\1/g' flake.nix # disabling outputs unsupported inside the GitHub action
|
- run: nix -Lv flake check
|
||||||
- run: echo "hello" # nix -Lv flake check
|
|
||||||
- run: nix -Lv build ".#nixosConfigurations.pc.config.system.build.toplevel"
|
- run: nix -Lv build ".#nixosConfigurations.pc.config.system.build.toplevel"
|
||||||
- run: nix -Lv build ".#nixosConfigurations.pbp.config.system.build.toplevel" --option system aarch64-linux
|
- run: nix -Lv build ".#nixosConfigurations.pbp.config.system.build.toplevel" --option system aarch64-linux
|
||||||
- run: nix -Lv build ".#nixosConfigurations.hs.config.system.build.toplevel"
|
- run: nix -Lv build ".#nixosConfigurations.hs.config.system.build.toplevel"
|
11
flake.nix
11
flake.nix
|
@ -141,14 +141,5 @@
|
||||||
deploy.nodes = digga.lib.mkDeployNodes
|
deploy.nodes = digga.lib.mkDeployNodes
|
||||||
self.nixosConfigurations
|
self.nixosConfigurations
|
||||||
{ };
|
{ };
|
||||||
}
|
};
|
||||||
// {
|
|
||||||
# The following line gets uncommented by the GitHub action during CI (`ga-uncomment`)
|
|
||||||
# is a placeholder to make `sed` find the correct line.
|
|
||||||
# This is because I found no way to get an `aarch64` GitHub runner or supporting `kvm`.
|
|
||||||
# If only there was a way to evaluate `flakes` passing arguments I could avoit this
|
|
||||||
# hacky solution.
|
|
||||||
|
|
||||||
# checks.aarch64-linux = { }; # ga-uncomment
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue