Verified Commit 560aaf0f authored by TECHNOFAB's avatar TECHNOFAB 🐈
Browse files

feat: add CI, improve benchmark, fix issue statix created and remove statix

parent 5fee6ef1
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+5 −0
Original line number Diff line number Diff line
# Generated by soonix, DO NOT EDIT
include:
- component: gitlab.com/TECHNOFAB/nix-gitlab-ci/nix-gitlab-ci@3.0.0-alpha.2
  inputs:
    version: 3.0.0-alpha.2
+3 −3
Original line number Diff line number Diff line
@@ -37,11 +37,11 @@
      },
      "locked": {
        "dir": "lib",
        "lastModified": 1755264589,
        "narHash": "sha256-g8KjU4D/nxpMjCLQNP90VAAWUH89yvONRfChyhhzq4c=",
        "lastModified": 1756370106,
        "narHash": "sha256-l84ojcHuQWBwn4BRxQsMMfQpcq/Az/sHh/hSqFgVtyg=",
        "owner": "rensa-nix",
        "repo": "core",
        "rev": "9f20f8c94b09a1c85356f8340ebe0a339b0d32e6",
        "rev": "9c1a29fa9ba7cbbb78b9e47eb8afbcd29303a3b4",
        "type": "gitlab"
      },
      "original": {
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
        (simple "tests")
        (simple "benchmark")
        (simple "docs")
        (simple "ci")
      ];
    }
    {
@@ -30,6 +31,7 @@
        ["repo" "tests"]
        ["repo" "benchmark"]
        ["repo" "docs"]
        ["repo" "ci" "packages"]
      ];
    };
}
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
    prefix,
    ...
  } @ args: let
    vals = filter (key: args.${key} != null && args.${key}) [
    vals = filter (key: args.${key} != null && args.${key} != false) [
      "eval"
      "prefix"
      "unset"
+6 −6
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@ in {
    runtimeInputs = [pkgs.hyperfine];
    text = ''
      echo "Comparison cases first:"
      hyperfine -w 3 \
        'nix-instantiate ${inputs.self}/benchmark/shared.nix' \
        'nix-instantiate ${inputs.self}/benchmark/empty.nix'
      hyperfine -w 5 \
        'nix-instantiate ${inputs.self}/benchmark/shared.nix --quiet --quiet --quiet' \
        'nix-instantiate ${inputs.self}/benchmark/empty.nix --quiet --quiet --quiet'
      echo "Now real benchmark:"
      hyperfine -w 3 \
        'nix-instantiate ${inputs.self}/benchmark/nixpkgs-shell.nix' \
        'nix-instantiate ${inputs.self}/benchmark/devshell.nix'
      hyperfine -w 5 \
        'nix-instantiate ${inputs.self}/benchmark/nixpkgs-shell.nix --quiet --quiet --quiet' \
        'nix-instantiate ${inputs.self}/benchmark/devshell.nix --quiet --quiet --quiet'
    '';
  };
}
Loading