Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,862
    • Issues 4,862
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 459
    • Merge requests 459
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !6295

Hadrian and haddock CI improvements

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Zubin requested to merge wip/haddock-ci into master Aug 03, 2021
  • Overview 31
  • Commits 8
  • Pipelines 33
  • Changes 18
  1. Depend on docs target before running tests in hadrian (#19072 (closed), #17728 (closed), #20176 (closed)) if we are going to be running any haddock tests
  2. Build validate-x86_64-linux-deb9-debug with hyperlinked source (#20067 (closed))
  3. Add a --test-have-intree-files flag to the hadrian test runner so that it can run in_compiler_tree tests even when testing the bindist

We teach the testsuite driver to report any extra hadrian targets it might need, like haddock docs. The driver only reports these targets if the tests in question are actually going to be run. In particular, if you pass --only="T1 T2 T3", and neither of T1,T2, or T3 require a hadrian target, then that target will not be built.

Then we add "docs-haddock" as a required target for all the haddock tests, taking care of point 1.

Fixes #19072 (closed), #17728 (closed), #20176 (closed), #20067 (closed), #20427 (closed), #19614 (closed), #16987 (closed)

Edited Oct 04, 2021 by Zubin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/haddock-ci