ci: use nix-fast-build to build checks

This commit is contained in:
teutat3s 2025-02-06 13:03:22 -03:00
parent 9663ddf555
commit 4bea98afbb
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 2 additions and 9 deletions
.forgejo/workflows
flake.nix

View file

@ -27,11 +27,4 @@ jobs:
build --out-link /var/lib/gitea-runner/tankstelle/.local/state/nix/results/"$target" ".#nixosConfigurations.${target}.config.system.build.toplevel"
done
for check in $(nix flake show --json --all-systems | jq --raw-output '
.checks."x86_64-linux" |
to_entries[] |
.key'
); do
nix --print-build-logs --verbose --accept-flake-config --access-tokens '' \
build --out-link /var/lib/gitea-runner/tankstelle/.local/state/nix/results/"$check" ".#checks.x86_64-linux.${check}"
done
nix-fast-build --no-nom --systems "aarch64-linux x86_64-linux"

View file

@ -99,7 +99,7 @@
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
deploy-rs
nixpkgs-fmt
nix-fast-build
agenix
age-plugin-yubikey
cachix