Commit 0ca044fd authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot
Browse files

gitlab-ci: Move hadrian-ghc-in-ghci job first

This is a very cheap job and can catch a number of "easy" failure modes
(e.g. missing imports in the compiler). Let's run it first.
parent 4aba72d6
Pipeline #11372 failed with stages
in 792 minutes and 6 seconds
......@@ -19,6 +19,7 @@ before_script:
- lint # Source linting
- quick-build # A very quick smoke-test to weed out broken commits
- build # A quick smoke-test to weed out broken commits
- full-build # Build all the things
- cleanup # See Note [Cleanup after the shell executor]
......@@ -229,7 +230,7 @@ validate-x86_64-linux-deb9-hadrian:
<<: *only-default
stage: build
stage: quick-build
image: "$DOCKER_REV"
# workaround for docker permissions
......@@ -237,6 +238,8 @@ hadrian-ghc-in-ghci:
- git submodule sync --recursive
- git submodule update --init --recursive
- git checkout .gitmodules
GHC_FLAGS: -Werror
- x86_64-linux
......@@ -2,5 +2,5 @@
set -e
GHC_FLAGS=$(TERM=dumb CABFLAGS=-v0 "hadrian/" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci "$@")
GHC_FLAGS="$GHC_FLAGS $(TERM=dumb CABFLAGS=-v0 "hadrian/" tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci "$@")"
ghci $GHC_FLAGS "$@" -fno-code -fwrite-interface -hidir=.hadrian_ghci/interface -O0 ghc/Main.hs +RTS -A128m
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment