This commit is contained in:
Andrea Ciceri 2022-06-05 20:32:04 +02:00
parent 7d833cdc0e
commit a3c7257add
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
2 changed files with 2 additions and 12 deletions

View file

@ -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"

View file

@ -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
};
} }