diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-05-24 11:15:39 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-06-14 12:12:40 -0400 |
commit | 69c3b1f32015464ce9dbe32c8df6623de12fc497 (patch) | |
tree | 994934cd3a73d5aa285a26af23b99baeddf2dc65 | |
parent | 56d19d92234d10c904ea9bccefd56b8fb5c0da52 (diff) | |
download | haskell-69c3b1f32015464ce9dbe32c8df6623de12fc497.tar.gz |
ci: Test the bootstrap without ALEX/HAPPY on path
(cherry picked from commit a96dccfe8201542086a65d168ce6d6b9d302e2c2)
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e5911fb20..bc6b08553e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -557,6 +557,9 @@ test-bootstrap: - python3 ./hadrian/bootstrap/bootstrap.py -w $GHC --bootstrap-sources hadrian-bootstrap-sources-$GHC_VERSION.tar.gz - export HADRIAN_PATH="$PWD/_build/bin/hadrian" - .gitlab/ci.sh setup + # Bootstrapping should not depend on HAPPY or ALEX so set them to false + # so the build fails if they are invoked. + - export HAPPY=/bin/false; export ALEX=/bin/false - .gitlab/ci.sh configure - .gitlab/ci.sh build_hadrian - .gitlab/ci.sh test_hadrian |