on master help sign in
Remove the opt option from streamly-benchmarks
ac3af87Harendra Kumar
.circleci/config.yml+3−2
@@ -140,6 +140,7 @@ jobs:
140 BUILD: "stack"
140 BUILD: "stack"
141 RESOLVER: "lts-16.12"
141 RESOLVER: "lts-16.12"
142 SDIST_OPTIONS: "--ignore-check"
142 SDIST_OPTIONS: "--ignore-check"
143+ STACK_BUILD_OPTIONS: "--flag streamly-benchmarks:-opt"
143 command: |
144 command: |
144 apt-get build-dep -y ghc-8.8.4
145 apt-get build-dep -y ghc-8.8.4
145 apt-get install -y cabal-install-3.2
146 apt-get install -y cabal-install-3.2
@@ -379,8 +380,8 @@ workflows:
379 build:
380 build:
380 jobs:
381 jobs:
381 #- cabal-ghc-8.6.5
382 #- cabal-ghc-8.6.5
382− - cabal-ghc-8_4_4:
383+ #- cabal-ghc-8_4_4:
383− name: GHC 8.4.4 + x86 + debug
384+ # name: GHC 8.4.4 + x86 + debug
384 - cabal-ghc-8_2_2:
385 - cabal-ghc-8_2_2:
385 name: GHC 8.2.2 + no-test + no-bench + no-docs
386 name: GHC 8.2.2 + no-test + no-bench + no-docs
386 - cabal-ghc-8_0_2:
387 - cabal-ghc-8_0_2:
.github/workflows/haskell.yml+5−5
@@ -35,27 +35,27 @@ jobs:
35 strategy:
35 strategy:
36 fail-fast: false
36 fail-fast: false
37 matrix:
37 matrix:
38− name: [8.8.3+inspection+Werror, 8.6.5+streamk, 8.6.5+fusion-plugin, 8.4.4+debug]
38+ name: [8.8.3+inspection+fusion-plugin+Werror, 8.6.5+fusion-plugin, 8.6.5+streamk, 8.4.4+debug]
39 cabal_version: ["3.2"]
39 cabal_version: ["3.2"]
40 include:
40 include:
41− - name: 8.8.3+inspection+Werror
41+ - name: 8.8.3+inspection+fusion-plugin+Werror
42 ghc_version: 8.8.3
42 ghc_version: 8.8.3
43 build: cabal-v2
43 build: cabal-v2
44 cabal_project: cabal.project.ci
44 cabal_project: cabal.project.ci
45 - name: 8.6.5+streamk
45 - name: 8.6.5+streamk
46 ghc_version: 8.6.5
46 ghc_version: 8.6.5
47 build: cabal-v2
47 build: cabal-v2
48− cabal_build_options: "--flags streamk"
48+ cabal_build_options: "--flag streamk --flag -opt"
49 - name: 8.6.5+fusion-plugin
49 - name: 8.6.5+fusion-plugin
50 ghc_version: 8.6.5
50 ghc_version: 8.6.5
51 build: cabal-v2
51 build: cabal-v2
52− cabal_build_options: "--flags fusion-plugin"
52+ cabal_build_options: "--flag fusion-plugin"
53 # haddock generation does not work with 8.6.5+fusion-plugin
53 # haddock generation does not work with 8.6.5+fusion-plugin
54 disable_docs: "y"
54 disable_docs: "y"
55 - name: 8.4.4+debug
55 - name: 8.4.4+debug
56 ghc_version: 8.4.4
56 ghc_version: 8.4.4
57 build: cabal-v2
57 build: cabal-v2
58− cabal_build_options: "--flag debug"
58+ cabal_build_options: "--flag debug --flag -opt"
59
59
60 steps:
60 steps:
61 - uses: actions/checkout@v2
61 - uses: actions/checkout@v2
appveyor.yml+1
@@ -38,6 +38,7 @@ environment:
38 STACK_UPGRADE: "y"
38 STACK_UPGRADE: "y"
39 RESOLVER: "lts-16.12"
39 RESOLVER: "lts-16.12"
40 STACK_ROOT: "c:\\sr"
40 STACK_ROOT: "c:\\sr"
41+ STACK_BUILD_OPTIONS: "--flag streamly-benchmarks:-opt"
41
42
42 # ------------------------------------------------------------------------
43 # ------------------------------------------------------------------------
43 # cabal options
44 # cabal options
cabal.project.ci+5−1
@@ -1,4 +1,4 @@
1−packages:
1+packages:
2 ./
2 ./
3 benchmark
3 benchmark
4
4
@@ -9,3 +9,7 @@ package streamly
9package streamly-benchmarks
9package streamly-benchmarks
10 ghc-options: -Werror
10 ghc-options: -Werror
11 flags: inspection fusion-plugin
11 flags: inspection fusion-plugin
12+
13+package streamly-tests
14+ ghc-options: -Werror
15+ flags: opt fusion-plugin