-
Notifications
You must be signed in to change notification settings - Fork 71
/
haskell-ci.cabal
231 lines (214 loc) · 6.17 KB
/
haskell-ci.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
cabal-version: 2.2
name: haskell-ci
version: 0.19.20241223
synopsis: Haskell CI script generator
description:
Script generator (@haskell-ci@) for
[GitHub Actions](https://docs.github.com/en/actions) and
for continuous-integration testing of Haskell Cabal packages.
.
Included features (not limited to):
.
* Multiple GHC support
* Dependency caching
* cabal.project support (see [Nix-style local builds documentation](https://cabal.readthedocs.io/en/latest/nix-local-build-overview.html))
* Runs tests and builds benchmarks
* Generates Haddocks
* GHCJS support
* building with specific constraints
homepage: https://haskell-ci.rtfd.org/
bug-reports: https://github.com/haskell-CI/haskell-ci/issues
license: GPL-3.0-or-later
license-file: LICENSE
author: Herbert Valerio Riedel, Oleg Grenrus
maintainer: [email protected]
category: Development
build-type: Simple
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
extra-source-files: CHANGELOG.md
extra-source-files:
fixtures/*.args
fixtures/*.bash
fixtures/*.github
fixtures/*.patch
fixtures/*.project
fixtures/servant/servant.cabal
fixtures/servant-client/servant-client.cabal
fixtures/servant-client-core/servant-client-core.cabal
fixtures/servant-docs/servant-docs.cabal
fixtures/servant-foreign/servant-foreign.cabal
fixtures/servant-server/servant-server.cabal
fixtures/splitmix/splitmix.cabal
source-repository head
type: git
location: https://github.com/haskell-CI/haskell-ci.git
flag ShellCheck
default: True
manual: True
common language
default-language: Haskell2010
default-extensions:
BangPatterns
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
MultiWayIf
NoImplicitPrelude
QuantifiedConstraints
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeOperators
UndecidableInstances
UndecidableSuperClasses
ViewPatterns
library haskell-ci-internal
import: language
hs-source-dirs: src
ghc-options:
-Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat -Wnoncanonical-monad-instances
if impl(ghc <8.8)
ghc-options: -Wnoncanonical-monadfail-instances
exposed-modules:
HaskellCI
HaskellCI.Auxiliary
HaskellCI.Bash
HaskellCI.Bash.Template
HaskellCI.Cabal
HaskellCI.Cli
HaskellCI.Compiler
HaskellCI.Config
HaskellCI.Config.Components
HaskellCI.Config.ConstraintSet
HaskellCI.Config.CopyFields
HaskellCI.Config.Docspec
HaskellCI.Config.Doctest
HaskellCI.Config.Dump
HaskellCI.Config.Empty
HaskellCI.Config.Grammar
HaskellCI.Config.History
HaskellCI.Config.Initial
HaskellCI.Config.Installed
HaskellCI.Config.Jobs
HaskellCI.Config.PackageScope
HaskellCI.Config.Type
HaskellCI.Config.Ubuntu
HaskellCI.Config.Validity
HaskellCI.Diagnostics
HaskellCI.Error
HaskellCI.Ghcup
HaskellCI.GitConfig
HaskellCI.GitHub
HaskellCI.GitHub.Yaml
HaskellCI.GrammarDefault
HaskellCI.HeadHackage
HaskellCI.Jobs
HaskellCI.List
HaskellCI.MonadErr
HaskellCI.Newtypes
HaskellCI.OptionsGrammar
HaskellCI.OptparseGrammar
HaskellCI.Package
HaskellCI.ParsecUtils
HaskellCI.Prelude
HaskellCI.SetupMethod
HaskellCI.Sh
HaskellCI.ShVersionRange
HaskellCI.TestedWith
HaskellCI.Tools
HaskellCI.VersionInfo
HaskellCI.YamlSyntax
other-extensions:
CPP
NamedFieldPuns
OverloadedLabels
ViewPatterns
build-depends:
, base >=4.12 && <4.21
, binary ^>=0.8.5.1
, bytestring ^>=0.10.8.1 || ^>=0.11.1.0 || ^>=0.12.0.2
, Cabal-syntax ^>=3.12.0.0
, containers ^>=0.6.0.1 || ^>=0.7
, deepseq ^>=1.4.2.0 || ^>=1.5.0.0
, directory ^>=1.3.0.0
, filepath ^>=1.4.1.1 || ^>=1.5.2.0
, mtl ^>=2.2.2 || ^>=2.3.1
, parsec ^>=3.1.13.0
, pretty ^>=1.1.3.3
, process ^>=1.4.3.0 || ^>=1.6.1.0
, text ^>=1.2.3.0 || ^>=2.0.1 || ^>=2.1
, transformers ^>=0.5.2.0 || ^>=0.6.1.0
-- other dependencies
build-depends:
, aeson ^>=2.2.0.0
, attoparsec ^>=0.14.1
, base-compat ^>=0.14.0
, base16-bytestring ^>=1.0.1.0
, cabal-install-parsers ^>=0.6.1.1
, cryptohash-sha256 ^>=0.11.101.0
, exceptions ^>=0.10.0
, generic-lens-lite ^>=0.1
, HsYAML ^>=0.2.0.0
, indexed-traversable ^>=0.1.1
, indexed-traversable-instances ^>=0.1
, ini ^>=0.4.1
, lattices ^>=2.2
, network-uri ^>=2.6.1.0
, optparse-applicative ^>=0.18.1.0
, temporary ^>=1.3
, unordered-containers ^>=0.2.10.0
, zinza ^>=0.2
-- ShellCheck. Would need newer transformers for older GHC
if flag(shellcheck)
build-depends: ShellCheck ==0.9.0
executable haskell-ci
main-is: Main.hs
ghc-options: -threaded -rtsopts
hs-source-dirs: cli
build-depends:
, base
, haskell-ci-internal
default-language: Haskell2010
test-suite golden
import: language
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: test
-- inherited constraints via lib:haskell-ci
build-depends:
, base
, base-compat
, bytestring
, Cabal-syntax
, directory
, filepath
, haskell-ci-internal
, transformers
-- dependencies needing explicit constraints
build-depends:
, ansi-terminal >=1.0 && <1.2
, Diff ^>=0.4.0 || ^>=0.5
, tasty ^>=1.4.1 || ^>=1.5
, tasty-golden ^>=2.3.1.1
, tasty-hunit