@@ -57,7 +57,7 @@ env: &env
5757 # If you have not committed packcheck.sh in your repo at PACKCHECK
5858 # then it is automatically pulled from this URL.
5959 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
60− PACKCHECK_GITHUB_COMMIT: "v0.7.0"
60+ PACKCHECK_GITHUB_COMMIT: "f6cfd7b7a33b4bf6fd63cce6a3fb3d26f5031403"
6161
6262executors:
6363 amd64-executor:
@@ -155,11 +155,35 @@ jobs:
155155 - *preinstall
156156 - run:
157157 environment:
158+ GHCVER: "8.6.5"
159+ CABAL_VERSION: "3.6.2.0"
158160 CABAL_PROJECT: "cabal.project"
159161 DISABLE_SDIST_BUILD: "yes"
160162 CABAL_BUILD_OPTIONS: "--flag debug --flag -opt"
161163 command: |
162− bash -c "$PACKCHECK cabal GHCVER=8.6.5"
164+ bash -c "$PACKCHECK cabal"
165+ - *save
166+ cabal-ghc-9_8_1-docspec:
167+ <<: *env
168+ executor: amd64-executor
169+ steps:
170+ - checkout
171+ - *restore
172+ - *preinstall
173+ - run:
174+ environment:
175+ GHCVER: "9.8.1"
176+ CABAL_VERSION: "3.10.1.0"
177+ CABAL_PROJECT: "cabal.project.doctest"
178+ DISABLE_SDIST_BUILD: "y"
179+ DISABLE_TEST: "y"
180+ DISABLE_BENCH: "y"
181+ DISABLE_DOCS: "y"
182+ ENABLE_DOCSPEC: "y"
183+ DOCSPEC_URL: https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20210111/cabal-docspec-0.0.0.20210111.xz
184+ DOCSPEC_OPTIONS: "--timeout 60 --check-properties --property-variables xs"
185+ command: |
186+ bash -c "$PACKCHECK cabal"
163187 - *save
164188 hlint-trailing-spaces:
165189 <<: *env
@@ -188,5 +212,7 @@ workflows:
188212 jobs:
189213 #- cabal-ghc-8_6_5:
190214 # name: 8.6.5-debug-unoptimized
215+ - cabal-ghc-9_8_1-docspec:
216+ name: ghc-9.8.1-docspec
191217 - hlint-trailing-spaces:
192218 name: hlint and trailing spaces