hadrian: Introduce enableDebugInfo flavour transformer

Also refactor things a bit to eliminate repetition.
21 jobs for master in 414 minutes and 51 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Lint
passed #180072
lint
lint-linters

00:00:13

passed #180075
lint
lint-submods-branch

00:00:19

passed #180073
lint
lint-testsuite

00:00:16

passed #180074
lint
typecheck-testsuite

00:00:14

 
  Quick Build
passed #180076
x86_64-linux
hadrian-ghc-in-ghci

00:19:30

 
  Build
passed #180079
x86_64-linux
release-x86_64-linux-deb9-dwarf

01:02:59

passed #180078
x86_64-linux
validate-x86_64-linux-deb9-debug

03:07:47

passed #180077
x86_64-linux
validate-x86_64-linux-deb9-hadrian

01:52:21

 
  Full Build
failed #180081
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

01:02:25

passed #180082
x86_64-linux
validate-i386-linux-deb9

01:58:34

passed #180080
x86_64-darwin
validate-x86_64-darwin

00:55:20

passed #180083
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

00:55:20

passed #180084
x86_64-linux
validate-x86_64-linux-deb9-unreg

02:50:49

passed #180085
x86_64-linux
validate-x86_64-linux-fedora27

00:52:28

failed #180087
x86_64-windows allowed to fail
validate-x86_64-windows

00:46:58

failed #180086
x86_64-windows allowed to fail
validate-x86_64-windows-hadrian

00:52:16

 
  Cleanup
passed #180088
x86_64-darwin
cleanup-darwin

00:00:06

 
  Packaging
failed #180089
x86_64-linux allowed to fail
doc-tarball

00:01:03

 
  Testing
manual #180090
x86_64-linux allowed to fail manual
hackage
passed #180091
x86_64-linux
perf-nofib

00:25:48

 
  Deploy
failed #180092
x86_64-linux allowed to fail
pages

00:00:14

 
Name Stage Failure
failed
pages Deploy
Synchronizing submodule url for 'utils/hsc2hs'
$ git submodule update --init --recursive
$ git checkout .gitmodules
$ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true
$ mkdir -p public/doc
$ tar -xf haddock.html.tar.xz -C public/doc
tar: haddock.html.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ERROR: Job failed: exit code 1
failed
validate-aarch64-linux-deb9 Full Build
$ cp -Rf $HOME/.cabal cabal-cache
Uploading artifacts...
WARNING: ghc-*.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
failed
doc-tarball Packaging
Synchronizing submodule url for 'utils/hsc2hs'
$ git submodule update --init --recursive
$ git checkout .gitmodules
$ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true
From https://gitlab.haskell.org/ghc/ghc-performance-notes
4d63770763..726b65773b refs/notes/perf -> refs/notes/perf
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1
failed
validate-x86_64-windows-hadrian Full Build
Runtime platform                                    arch=amd64 os=windows pid=6276 revision=1f513601 version=11.10.1
WARNING: ghc.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=532 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows Full Build
Runtime platform                                    arch=amd64 os=windows pid=6492 revision=1f513601 version=11.10.1
WARNING: ghc-*.tar.xz: no matching files
WARNING: junit.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=2520 revision=1f513601 version=11.10.1
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 2