@@ -1,4 +1,4 @@
1−# packcheck-0.4.0
1+# packcheck-0.4.2
2# You can use any of the options supported by packcheck as environment
2# You can use any of the options supported by packcheck as environment
3# variables here. See https://github.com/harendra-kumar/packcheck for all
3# variables here. See https://github.com/harendra-kumar/packcheck for all
4# options and their explanation.
4# options and their explanation.
@@ -59,7 +59,7 @@ env:
59 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
59 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
60 # then it is automatically pulled from this URL.
60 # then it is automatically pulled from this URL.
61 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
61 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
62− - PACKCHECK_GITHUB_COMMIT="42d90d6b93bee7741e577d0e3615754165c648f8"
62+ - PACKCHECK_GITHUB_COMMIT="d11a8a68fef00f4932bbedd6134950495ccd7420"
64notifications:
64notifications:
@@ -77,47 +77,40 @@ matrix:
79 # --------------------------------------------------------------------------
79 # --------------------------------------------------------------------------
80− # (Linux) cabal builds (BUILD=cabal, BUILD=cabal-new). Common envvars are:
80+ # (Linux) cabal builds (BUILD=cabal-v1, BUILD=cabal-v2). Common envvars are:
81− # CABAL_CONFIGURE_OPTIONS (cabal), CABAL_NEWBUILD_OPTIONS (cabal-new)
81+ # CABAL_CONFIGURE_OPTIONS (cabal-v1), CABAL_BUILD_OPTIONS (cabal-v2)
82 # --------------------------------------------------------------------------
82 # --------------------------------------------------------------------------
84− #- env: BUILD=cabal-new GHCVER=head
84+ #- env: BUILD=cabal-v2 GHCVER=head
85 # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
85 # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
87− - env: BUILD=cabal-new GHCVER=8.6.5 GHC_OPTIONS="" CABAL_NEWBUILD_OPTIONS="--flags streamk"
87+ - env: BUILD=cabal-v2 GHCVER=8.6.5 GHC_OPTIONS="" CABAL_BUILD_OPTIONS="--flags streamk"
88 addons: {apt: {packages: [cabal-install-head,ghc-8.6.5], sources: [hvr-ghc]}}
88 addons: {apt: {packages: [cabal-install-head,ghc-8.6.5], sources: [hvr-ghc]}}
90− #- env: BUILD=cabal-new GHCVER=8.6.5 GHC_OPTIONS="" CABAL_NEWBUILD_OPTIONS="--flags examples-sdl"
91− # addons: {apt: {packages: [cabal-install-head,ghc-8.6.4,libsdl1.2-dev], sources: [hvr-ghc]}}
93− - env: BUILD=cabal-new GHC_OPTIONS="" GHCVER=8.4.4
90+ - env: BUILD=cabal-v2 GHC_OPTIONS="" GHCVER=8.4.4
94 addons: {apt: {packages: [cabal-install-head,ghc-8.4.4], sources: [hvr-ghc]}}
91 addons: {apt: {packages: [cabal-install-head,ghc-8.4.4], sources: [hvr-ghc]}}
96− #- env: BUILD=cabal-new GHCVER=8.2.2
93+ #- env: BUILD=cabal-v2 GHCVER=8.2.2
97− # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
94+ # addons: {apt: {packages: [cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
99− # Disable warnings because COMPLETE pragma is not available in this GHC
101− - env: BUILD=cabal-new GHCVER=8.0.2 GHC_OPTIONS="" CABAL_NEWBUILD_OPTIONS="--flags examples-sdl"
96+ - env: BUILD=cabal-v2 GHCVER=8.0.2 GHC_OPTIONS="" CABAL_BUILD_OPTIONS="--flags examples-sdl"
102 addons: {apt: {packages: [cabal-install-2.4,ghc-8.0.2,libsdl1.2-dev], sources: [hvr-ghc]}}
97 addons: {apt: {packages: [cabal-install-2.4,ghc-8.0.2,libsdl1.2-dev], sources: [hvr-ghc]}}
104− # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
106− - env: BUILD=cabal-new GHCVER=7.10.3 GHC_OPTIONS="" CABAL_NEWBUILD_OPTIONS="--flags examples-sdl"
99+ - env: BUILD=cabal-v2 GHCVER=7.10.3 GHC_OPTIONS="" CABAL_BUILD_OPTIONS="--flags examples-sdl"
107 addons: {apt: {packages: [cabal-install-2.4,ghc-7.10.3,libsdl1.2-dev], sources: [hvr-ghc]}}
100 addons: {apt: {packages: [cabal-install-2.4,ghc-7.10.3,libsdl1.2-dev], sources: [hvr-ghc]}}
109 # You can specify build flags like this:
102 # You can specify build flags like this:
110− #- env: BUILD=cabal-new CABAL_NEWBUILD_OPTIONS="--flags=dev"
103+ #- env: BUILD=cabal-v2 CABAL_BUILD_OPTIONS="--flags=dev"
111 # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
104 # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
113 # --------------------------------------------------------------------------
106 # --------------------------------------------------------------------------
114 # GHCJS cabal builds
107 # GHCJS cabal builds
115 # --------------------------------------------------------------------------
108 # --------------------------------------------------------------------------
117− # Use CABAL_NEWBUILD_OPTIONS to pass any options to cabal e.g. project-file
110+ # Use CABAL_BUILD_OPTIONS to pass any options to cabal e.g. project-file
118 # DISABLE_SDIST_BUILD is set because of a cabal issue. 'cabal info'
111 # DISABLE_SDIST_BUILD is set because of a cabal issue. 'cabal info'
119 # unnecessarily requires "ghc".
112 # unnecessarily requires "ghc".
120− - env: BUILD=cabal-new ENABLE_GHCJS=y ENABLE_INSTALL= DISABLE_SDIST_BUILD=y
113+ - env: BUILD=cabal-v2 ENABLE_GHCJS=y ENABLE_INSTALL= DISABLE_SDIST_BUILD=y
@@ -131,6 +124,10 @@ matrix:
131 # (Linux) stack builds (BUILD=stack). Some common envvars for stack builds
124 # (Linux) stack builds (BUILD=stack). Some common envvars for stack builds
132 # are: STACK_YAML, STACK_OPTIONS, STACK_BUILD_OPTIONS
125 # are: STACK_YAML, STACK_OPTIONS, STACK_BUILD_OPTIONS
133 # --------------------------------------------------------------------------
126 # --------------------------------------------------------------------------
128+ # NOTE: cabal-install is required for some of the packcheck options to work.
129+ # We just install it so that packcheck does not build it from source
135 #- env: BUILD=stack RESOLVER=nightly
132 #- env: BUILD=stack RESOLVER=nightly
136 # addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
133 # addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
@@ -146,15 +143,11 @@ matrix:
146 - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
143 - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
147 addons: {apt: {packages: [cabal-install-2.4], sources: [hvr-ghc]}}
144 addons: {apt: {packages: [cabal-install-2.4], sources: [hvr-ghc]}}
149− # Disable warnings because COMPLETE pragma is not available in this GHC
146+ #- env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0
151− #- env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0.2 GHC_OPTIONS="" STACK_YAML=stack-8.0.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
152− # addons: {apt: {packages: [cabal-install-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
147+ # addons: {apt: {packages: [cabal-install-2.4], sources: [hvr-ghc]}}
154− # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
149+ #- env: BUILD=stack RESOLVER=lts-6 GHCVER=7.10
156− #- env: BUILD=stack RESOLVER=lts-6 GHCVER=7.10.3 GHC_OPTIONS="" STACK_YAML=stack-7.10.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
157− # addons: {apt: {packages: [cabal-install-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
150+ # addons: {apt: {packages: [cabal-install-2.4], sources: [hvr-ghc]}}
159 # You can keep a STACK_YAML file at any path location
152 # You can keep a STACK_YAML file at any path location
160 #- env: BUILD=stack STACK_YAML=.ci/stack-8.0.yaml
153 #- env: BUILD=stack STACK_YAML=.ci/stack-8.0.yaml
@@ -168,7 +161,7 @@ matrix:
169 # GHC 8.6 cabal build using stack!
162 # GHC 8.6 cabal build using stack!
170 # On OSX autoreconf is not installed therefore disable sdist build
163 # On OSX autoreconf is not installed therefore disable sdist build
171− - env: BUILD=cabal-new RESOLVER=lts-13 GHCVER=8.6 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y
164+ - env: BUILD=cabal-v2 RESOLVER=lts-13 GHCVER=8.6 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y
174 # GHC 8.4/stack
167 # GHC 8.4/stack
@@ -185,22 +178,22 @@ matrix:
185 # Build and send coverage report to coveralls.io using hpc-coveralls. Add
178 # Build and send coverage report to coveralls.io using hpc-coveralls. Add
186 # your project to coveralls.io first, for available options see hpc-coveralls
179 # your project to coveralls.io first, for available options see hpc-coveralls
187 # docs. CAVEATS:
180 # docs. CAVEATS:
188− # * Works only with BUILD=cabal
181+ # * Works only with BUILD=cabal-v1
189 # * Does not work for multi-package repos
182 # * Does not work for multi-package repos
190 # * hpc-coveralls does not build with Cabal-2.2/GHC-8.4.3. The workaround is
183 # * hpc-coveralls does not build with Cabal-2.2/GHC-8.4.3. The workaround is
191 # to have a prebuilt hpc-coveralls binary installed on the build machine
184 # to have a prebuilt hpc-coveralls binary installed on the build machine
192 # and then you can use any version of ghc.
185 # and then you can use any version of ghc.
193 # --------------------------------------------------------------------------
186 # --------------------------------------------------------------------------
195− #- env: BUILD=cabal COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test"
188+ #- env: BUILD=cabal-v1 COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test"
196− # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
189+ # addons: {apt: {packages: [cabal-install-2.4,ghc-8.2.2], sources: [hvr-ghc]}}
198 # --------------------------------------------------------------------------
191 # --------------------------------------------------------------------------
199 # Builds that are allowed to fail
192 # Builds that are allowed to fail
200 # --------------------------------------------------------------------------
193 # --------------------------------------------------------------------------
202 allow_failures:
195 allow_failures:
203− - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
196+ - env: BUILD=cabal-v2 GHCVER=head GHC_OPTIONS=""
204 - env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
197 - env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
205 - env: BUILD=stack RESOLVER=lts-13 HLINT_COMMANDS="hlint lint ."
198 - env: BUILD=stack RESOLVER=lts-13 HLINT_COMMANDS="hlint lint ."