Skip to content

Commit 56457ca

Browse files
authored
Merge pull request #56 from haskell-works/disable-parallel-garbage-collector-in-cci-tests
Disable parallel garbage collector in cci tests
2 parents e5a147a + d85ddb7 commit 56457ca

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Diff for: .circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@ workflows:
1515
context: haskell-ci
1616
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
1717
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
18-
cabal-test-extra: --test-show-details=direct
18+
cabal-test-extra: --test-show-details=direct --test-options='+RTS -g1'
1919

2020
- haskell/build-with-binary-cache:
2121
name: GHC 8.6.5
2222
executor: haskell/ghc-8_6_5
2323
context: haskell-ci
2424
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
2525
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
26-
cabal-test-extra: --test-show-details=direct
26+
cabal-test-extra: --test-show-details=direct --test-options='+RTS -g1'
2727

2828
- haskell/build-with-binary-cache:
2929
name: GHC 8.8.3
3030
executor: haskell/ghc-8_8_3
3131
context: haskell-ci
3232
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
3333
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
34-
cabal-test-extra: --test-show-details=direct
34+
cabal-test-extra: --test-show-details=direct --test-options='+RTS -g1'
3535

3636
- haskell/build-with-binary-cache:
3737
name: GHC 8.10.1
3838
executor: haskell/ghc-8_10_1
3939
context: haskell-ci
4040
binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"}
4141
cabal-build-extra: --write-ghc-environment-files=ghc8.4.4+
42-
cabal-test-extra: --test-show-details=direct
42+
cabal-test-extra: --test-show-details=direct --test-options='+RTS -g1'
4343

4444
- merge-point/merge-point:
4545
name: Build Ok

Diff for: hw-simd.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ test-suite doctest
170170
, doctest-discover
171171
, hw-simd
172172
type: exitcode-stdio-1.0
173-
ghc-options: -threaded
173+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
174174
main-is: DoctestDriver.hs
175175
HS-Source-Dirs: doctest
176176
build-tool-depends: doctest-discover:doctest-discover

Diff for: project.sh

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cabal-test() {
2626
cabal v2-test \
2727
--enable-tests \
2828
--test-show-details=direct \
29+
--test-options='+RTS -g1' \
2930
$CABAL_FLAGS "$@"
3031
}
3132

0 commit comments

Comments
 (0)