-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce `cabal.haskell-ci` to an absolute minimum, so that we pick up the correct defaults each time we upgrade `haskell-ci`. Make `cabal check` happy.
- Loading branch information
Showing
4 changed files
with
33 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,194 +1,5 @@ | ||
-- cabal-install version for all jobs | ||
cabal-install-version: 3.10 | ||
|
||
-- jobs (N:M - cabal:ghc) | ||
jobs: | ||
|
||
-- distribution version (xenial, bionic, focal, jammy) | ||
distribution: bionic | ||
|
||
-- Jobs selection across packages | ||
jobs-selection: uniform | ||
|
||
-- Restrict jobs selection futher from per package tested-with | ||
enabled: True | ||
|
||
-- Copy ? fields from cabal.project fields | ||
-- don't ignore anything in the cabal.project.ci file | ||
copy-fields: all | ||
|
||
-- --ghc-options for local packages | ||
local-ghc-options: | ||
|
||
-- Clone submodules, i.e. recursively | ||
submodules: False | ||
|
||
-- Disable caching | ||
cache: True | ||
|
||
-- Skip separate dependency installation step | ||
install-dependencies: True | ||
|
||
-- Specify 'constraint: ... installed' packages | ||
installed: -all | ||
|
||
-- Build tests with | ||
tests: True | ||
|
||
-- Run tests with (note: only built tests are run) | ||
run-tests: True | ||
|
||
-- Build benchmarks | ||
benchmarks: True | ||
|
||
-- Haddock step | ||
haddock: True | ||
|
||
-- Haddock components | ||
haddock-components: all | ||
|
||
-- Build without tests and benchmarks | ||
no-tests-no-benchmarks: True | ||
|
||
-- Make unconstrained build | ||
unconstrained: True | ||
|
||
-- Use head.hackage repository. Also marks as allow-failures | ||
head-hackage: >=9.7 | ||
|
||
-- Use :override for head.hackage repository | ||
head-hackage-override: True | ||
|
||
-- Run tests with GHCJS (experimental, relies on cabal-plan finding test-suites) | ||
ghcjs-tests: False | ||
|
||
ghcjs-tools: | ||
|
||
-- Use --test-show-details=direct, may cause problems with build-type: Custom | ||
test-output-direct: True | ||
|
||
-- Disable cabal check run | ||
cabal-check: False | ||
|
||
-- Enable builds only for specific branches | ||
branches: | ||
|
||
-- Enable IRC notifications to given channel (e.g. 'irc.libera.chat#haskell-lens') | ||
irc-channels: | ||
|
||
-- Nickname with which to authenticate to an IRC server. Only used if `irc-channels` are set. | ||
irc-nickname: | ||
|
||
-- Password with which to authenticate to an IRC server. Only used if `irc-channels` are set. | ||
irc-password: | ||
|
||
-- Only send IRC notifications if run from the original remote (GitHub Actions only) | ||
irc-if-in-origin-repo: False | ||
|
||
-- Disable email notifications | ||
email-notifications: True | ||
|
||
-- Project name (used for IRC notifications), defaults to package name or name of first package listed in cabal.project file | ||
project-name: | ||
|
||
-- Build steps to fold | ||
folds: | ||
|
||
-- Add ghc-head job | ||
ghc-head: False | ||
|
||
-- Add postgresql service | ||
postgresql: False | ||
|
||
-- Add google-chrome service | ||
google-chrome: False | ||
|
||
-- Environment variables per job (e.g. `8.0.2:HADDOCK=false`) | ||
env: | ||
|
||
-- Allow failures of particular GHC version | ||
allow-failures: False | ||
|
||
-- [Discouraged] Assume there are only GHCs last in major series: 8.2.* will match only 8.2.2 | ||
last-in-series: False | ||
|
||
-- Jobs to build on Linux | ||
linux-jobs: True | ||
|
||
-- Jobs to additionally build with OSX | ||
macos-jobs: False | ||
|
||
-- Use (or don't) ghcup to install cabal | ||
ghcup-cabal: True | ||
|
||
-- (Linux) jobs to use ghcup to install tools | ||
ghcup-jobs: >8.10.4 && <9 || >9.0.1 | ||
|
||
-- ghcup version | ||
ghcup-version: 0.1.19.2 | ||
|
||
-- Additional apt packages to install | ||
apt: libsnappy-dev | ||
|
||
travis-patches: | ||
|
||
github-patches: | ||
|
||
-- Don't insert the haskell-ci version into the generated Travis YAML file | ||
insert-version: True | ||
|
||
-- Insert -Werror=missing-methods for package scope (none, local, all) | ||
error-missing-methods: local | ||
|
||
-- Enable Doctest job | ||
doctest: False | ||
|
||
-- Additional Doctest options | ||
doctest-options: | ||
|
||
-- Doctest version | ||
doctest-version: ^>=0.21.0 | ||
|
||
-- Filter packages from .ghc.environment file | ||
doctest-filter-packages: | ||
|
||
-- Skip doctests for these packages | ||
doctest-skip: | ||
|
||
-- Enable Docspec job | ||
docspec: False | ||
|
||
-- Additional Docspec options | ||
docspec-options: | ||
|
||
-- URL to download cabal-docspec | ||
docspec-url: https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20230517/cabal-docspec-0.0.0.20230517-x86_64-linux.xz | ||
|
||
-- SHA256 of cabal-docspec | ||
docspec-hash: 3b31bbe463ad4d671abbc103db49628562ec48a6604cab278207b5b6acd21ed7 | ||
|
||
-- Enable HLint job | ||
hlint: False | ||
|
||
-- Specify HLint job | ||
hlint-job: latest | ||
|
||
hlint-yaml: | ||
|
||
-- Additional HLint options | ||
hlint-options: | ||
|
||
-- HLint version | ||
hlint-version: >=3.5 && <3.6 | ||
|
||
-- Download HLint binary release | ||
hlint-download-binary: True | ||
|
||
-- Raw travis commands which will be run at the very end of the script | ||
raw-travis: | ||
|
||
-- The name of GitHub Action | ||
github-action-name: | ||
|
||
-- The maximum number of minutes to let a job run | ||
timeout-minutes: 60 | ||
|
||
-- `snappy-c` needs a recent bytestring (and unix depends on bytestring) | ||
installed: -bytestring -unix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters