@@ -145,9 +145,10 @@ jobs:
145
145
- name : " Check that jobset will evaluate in Hydra at ifdLevel 0 and 1"
146
146
run : |
147
147
nix-build build.nix -A maintainer-scripts.check-hydra -o check-hydra.sh
148
- sed -i 's/ifdLevel = 3/ifdLevel = 0/' flake.nix
148
+ sed -i 's/runningHydraEvalTest = false;/runningHydraEvalTest = true;/' flake.nix
149
+ sed -i 's/ifdLevel = 3;/ifdLevel = 0;/' flake.nix
149
150
./check-hydra.sh
150
- sed -i 's/ifdLevel = 0/ifdLevel = 1/' flake.nix
151
+ sed -i 's/ifdLevel = 0; /ifdLevel = 1; /' flake.nix
151
152
./check-hydra.sh
152
153
153
154
hydra-ifdLevel-2 :
@@ -158,7 +159,8 @@ jobs:
158
159
- name : " Check that jobset will evaluate in Hydra at ifdLevel 2"
159
160
run : |
160
161
nix-build build.nix -A maintainer-scripts.check-hydra -o check-hydra.sh
161
- sed -i 's/ifdLevel = 3/ifdLevel = 2/' flake.nix
162
+ sed -i 's/runningHydraEvalTest = false;/runningHydraEvalTest = true;/' flake.nix
163
+ sed -i 's/ifdLevel = 3;/ifdLevel = 2;/' flake.nix
162
164
./check-hydra.sh
163
165
164
166
hydra-ifdLevel-3-and-ghc-8-10 :
@@ -169,26 +171,9 @@ jobs:
169
171
- name : " Check that jobset will evaluate in Hydra at ifdLevel 3"
170
172
run : |
171
173
nix-build build.nix -A maintainer-scripts.check-hydra -o check-hydra.sh
174
+ sed -i 's/runningHydraEvalTest = false;/runningHydraEvalTest = true;/' flake.nix
172
175
./check-hydra.sh
173
176
174
- hydra-ifdLevel-3-and-ghc-9-2 :
175
- runs-on : [self-hosted, linux]
176
- steps :
177
- - uses : actions/checkout@v4
178
- - name : " Check that jobset will evaluate in Hydra at ifdLevel 3 and ghc 9.2"
179
- run : |
180
- nix-build build.nix -A maintainer-scripts.check-hydra -o check-hydra.sh
181
- ./check-hydra.sh --arg ifdLevel 3 --arg include 'x: __substring 0 5 x == "ghc92"'
182
-
183
- hydra-ifdLevel-3-and-not-ghc-8-10-or-9-2 :
184
- runs-on : [self-hosted, linux]
185
- steps :
186
- - uses : actions/checkout@v4
187
- - name : " Check that jobset will evaluate in Hydra at ifdLevel 3 and not (ghc 8.10 or ghc 9.2)"
188
- run : |
189
- nix-build build.nix -A maintainer-scripts.check-hydra -o check-hydra.sh
190
- ./check-hydra.sh --arg ifdLevel 3 --arg include 'x: !(__substring 0 6 x == "ghc810" || __substring 0 5 x == "ghc92")'
191
-
192
177
closure-size :
193
178
runs-on : [self-hosted, linux]
194
179
steps :
0 commit comments