File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,9 @@ jobs:
246246 make -C build -j$NPROC check-stage3
247247 if : matrix.check-stage3
248248 - name : Test Benchmarks
249- run : nix shell github:Kha/lakeprof -c make -C build -j$NPROC bench
249+ run : |
250+ cd tests
251+ nix develop -c make -C ../build -j$NPROC bench
250252 if : matrix.test-bench
251253 - name : Check rebootstrap
252254 run : |
Original file line number Diff line number Diff line change 1+ {
2+ inputs . nixpkgs . url = "github:NixOS/nixpkgs/nixpkgs-unstable" ;
3+
4+ inputs . lakeprof . url = "github:Kha/lakeprof" ;
5+ inputs . lakeprof . inputs . nixpkgs . follows = "nixpkgs" ;
6+
7+ outputs =
8+ inputs :
9+ let
10+ lib = inputs . nixpkgs . lib ;
11+ forAllSystems = lib . genAttrs lib . systems . flakeExposed ;
12+ in
13+ {
14+ devShells = forAllSystems (
15+ system :
16+ let
17+ pkgs = inputs . nixpkgs . legacyPackages . ${ system } ;
18+ lakeprof = inputs . lakeprof . packages . ${ system } . default ;
19+ in
20+ {
21+ default = pkgs . mkShellNoCC {
22+ packages = [ lakeprof ] ++ lib . optional pkgs . stdenv . isLinux pkgs . perf ;
23+ } ;
24+ }
25+ ) ;
26+ } ;
27+ }
You can’t perform that action at this time.
0 commit comments