Skip to content

Commit 41f0542

Browse files
Use single threaded build for debugging heap overflow issues
Use -j1 in regression CI for better debugging
1 parent 8ed9fa6 commit 41f0542

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/regression-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139

140140
- name: Run benchmarks and append
141141
run: |
142-
./bench-runner --package-name streamly-benchmarks --package-version 0.0.0 --targets "$CI_BENCHMARKS" --raw --append
142+
./bench-runner --package-name streamly-benchmarks --package-version 0.0.0 --cabal-build-options "-j1" --targets "$CI_BENCHMARKS" --raw --append
143143
144144
# -----------------------------------------------------------------
145145
# -- Compare

cabal.project

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ packages: streamly.cabal
33
, test/streamly-tests.cabal
44
, benchmark/streamly-benchmarks.cabal
55
, bench-test-lib/bench-test-lib.cabal
6+
7+
-- For debugging heap overflow
8+
jobs: 1

cabal.project.Werror

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ packages:
55
core
66
bench-test-lib
77

8+
-- For debugging heap overflow
9+
jobs: 1
10+
811
package streamly
912
ghc-options: -Werror
1013

0 commit comments

Comments
 (0)