File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -144,21 +144,29 @@ jobs:
144
144
path : flake-regressions/tests
145
145
- uses : DeterminateSystems/determinate-nix-action@main
146
146
- uses : DeterminateSystems/flakehub-cache-action@main
147
- - env :
148
- PARALLEL : " -P 50%"
147
+ - name : Run flake regression tests
148
+ env :
149
+ PARALLEL : ${{ !contains(matrix.nix_config, 'eval-cores') && '-P 50%' || '-P 1' }}
149
150
FLAKE_REGRESSION_GLOB : ${{ matrix.glob }}
150
151
NIX_CONFIG : ${{ matrix.nix_config }}
151
152
PREFETCH : " 1"
152
153
GC_INITIAL_HEAP_SIZE : " 32G"
153
154
run : |
154
155
set -x
156
+ echo "PARALLEL: $PARALLEL"
157
+ echo "NIX_CONFIG: $NIX_CONFIG"
155
158
if [ ! -z "${NSC_CACHE_PATH:-}" ]; then
156
159
mkdir -p "${NSC_CACHE_PATH}/nix/xdg-cache"
157
160
export XDG_CACHE_HOME="${NSC_CACHE_PATH}/nix/xdg-cache"
158
161
fi
159
162
nix build -L --out-link ./new-nix
160
163
export PATH=$(pwd)/new-nix/bin:$PATH
161
164
165
+ nix config show lazy-trees
166
+ nix config show eval-cores
167
+ lscpu
168
+ nproc
169
+
162
170
if ! flake-regressions/eval-all.sh; then
163
171
echo "Some failed, trying again"
164
172
printf "\n\n\n\n\n\n\n\n"
You can’t perform that action at this time.
0 commit comments