File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
12
12
steps :
13
13
- uses : actions/checkout@v4
14
14
- uses : cachix/install-nix-action@v25
15
- - name : Evaluate hydraJobs
15
+ - name : Evaluate checks
16
16
id : eval-jobs
17
17
run : |
18
18
MATRIX=$(nix eval \
19
19
--accept-flake-config \
20
20
--json \
21
- .#hydraJobs .x86_64-linux --apply builtins.attrNames \
21
+ .#checks .x86_64-linux --apply builtins.attrNames \
22
22
)
23
23
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
24
24
63
63
- check : qemu-overlay-systemd-startup-shutdown
64
64
runs-on : ubuntu-latest
65
65
env :
66
- NIX_ATTR : ' hydraJobs .x86_64-linux.${{ matrix.check }}'
66
+ NIX_ATTR : ' checks .x86_64-linux.${{ matrix.check }}'
67
67
steps :
68
68
- name : Enable KVM group perms
69
69
run : |
Original file line number Diff line number Diff line change 144
144
else result
145
145
) { } ( builtins . attrNames self . nixosConfigurations ) ;
146
146
147
- # Takes too much memory in `nix flake show`
148
- # checks = import ./checks { inherit self nixpkgs system; };
147
+ checks = import ./checks { inherit self nixpkgs system ; } ;
149
148
150
149
# hydraJobs are checks
151
150
hydraJobs = builtins . mapAttrs ( _ : check :
152
151
( nixpkgs . lib . recursiveUpdate check {
153
152
meta . timeout = 12 * 60 * 60 ;
154
153
} )
155
- ) ( import ./ checks { inherit self nixpkgs system ; } ) ;
154
+ ) self . checks . ${ system } ;
156
155
} ) // {
157
156
lib = import ./lib { nixpkgs-lib = nixpkgs . lib ; } ;
158
157
You can’t perform that action at this time.
0 commit comments