on master help sign in
Avoid stack sdist bug in CI
434ac89Harendra Kumar
.travis.yml+6−6
@@ -55,7 +55,7 @@ env:
55 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
55 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
56 # then it is automatically pulled from this URL.
56 # then it is automatically pulled from this URL.
57 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
57 - PACKCHECK_GITHUB_URL="https://raw.githubusercontent.com/harendra-kumar/packcheck"
58− - PACKCHECK_GITHUB_COMMIT="1e44e612ce2af77c067aec489a254fdfbd6e589b"
58+ - PACKCHECK_GITHUB_COMMIT="f7fa0aaf4066e7862c9c1aca1e313b304253825c"
59
59
60notifications:
60notifications:
61 email:
61 email:
@@ -79,18 +79,18 @@ matrix:
79
79
80 # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
80 # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
81 # warnings.
81 # warnings.
82− - env: BUILD=stack RESOLVER=lts-6 GHCVER=7.10.3 GHC_OPTIONS="" STACK_YAML=stack-7.10.yaml STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
82+ - 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"
83 addons: {apt: {packages: [cabal-install-1.22,libsdl1.2-dev], sources: [hvr-ghc]}}
83 addons: {apt: {packages: [cabal-install-1.22,libsdl1.2-dev], sources: [hvr-ghc]}}
84
84
85− - env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
85+ - env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
86 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
86 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
87
87
88 # Use cabal-install-1.24 for stack solver to work
88 # Use cabal-install-1.24 for stack solver to work
89− - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 STACK_BUILD_OPTIONS="--flag streamly:diag"
89+ - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:diag"
90 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
90 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
91
91
92 # Use cabal-install-1.24 for stack solver to work
92 # Use cabal-install-1.24 for stack solver to work
93− - env: BUILD=stack RESOLVER=nightly
93+ - env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
94 addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
94 addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
95
95
96 # You can keep a STACK_YAML file at any path location
96 # You can keep a STACK_YAML file at any path location
@@ -156,7 +156,7 @@ matrix:
156 # --------------------------------------------------------------------------
156 # --------------------------------------------------------------------------
157
157
158 allow_failures:
158 allow_failures:
159− - env: BUILD=stack RESOLVER=nightly
159+ - env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
160 - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
160 - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
161 - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
161 - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
162
162
appveyor.yml+3−2
@@ -19,7 +19,8 @@ environment:
19 # DISABLE_TEST: "y"
19 # DISABLE_TEST: "y"
20 # DISABLE_BENCH: "y"
20 # DISABLE_BENCH: "y"
21 # DISABLE_DOCS: "y"
21 # DISABLE_DOCS: "y"
22+ DISABLE_DIST_CHECKS: "y"
22− # DISABLE_SDIST_BUILD: "y"
23+ DISABLE_SDIST_BUILD: "y"
23 ENABLE_INSTALL: "y"
24 ENABLE_INSTALL: "y"
24
25
25 # ------------------------------------------------------------------------
26 # ------------------------------------------------------------------------
@@ -57,7 +58,7 @@ environment:
57 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
58 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
58 # then it is automatically pulled from this URL.
59 # then it is automatically pulled from this URL.
59 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/harendra-kumar/packcheck"
60 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/harendra-kumar/packcheck"
60− PACKCHECK_GITHUB_COMMIT: "1e44e612ce2af77c067aec489a254fdfbd6e589b"
61+ PACKCHECK_GITHUB_COMMIT: "f7fa0aaf4066e7862c9c1aca1e313b304253825c"
61
62
62cache:
63cache:
63 - "%STACK_ROOT%"
64 - "%STACK_ROOT%"