diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-11-18 14:50:24 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-23 09:56:56 -0500 |
commit | e2cc1069fa17d20f4e3d1d677c8e2d2695f26aad (patch) | |
tree | 4d148c8ba1bc58d2074b7aa86cf45512e0e029a1 /.circleci | |
parent | 866f669e02a974e6174277a1ca7bbd9fd96bcb92 (diff) | |
download | haskell-e2cc1069fa17d20f4e3d1d677c8e2d2695f26aad.tar.gz |
circleci: Build with Hadrian
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index a830f942f9..bac3276f2c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,18 @@ aliases: run: name: Build command: "make -j$THREADS" + - &build_hadrian + run: + name: Build Hadrian + command: | + cd hadrian + cabal update + cabal install + - &build_ghc_hadrian + run: + name: Build GHC using Hadrian + command: | + $HOME/.cabal/bin/hadrian -j$THREADS - &test run: name: Test @@ -140,6 +152,22 @@ jobs: #- *collectartifacts #- *storeartifacts + "validate-hadrian-x86_64-linux": + resource_class: xlarge + docker: + - image: haskell:8.2 + environment: + <<: *buildenv + steps: + - *precheckout + - checkout + - *prepare + - *submodules + - *boot + - *configure_unix + - *build_hadrian + - *build_ghc_hadrian + "validate-x86_64-linux-unreg": resource_class: xlarge docker: @@ -193,6 +221,7 @@ workflows: # - validate-x86_64-freebsd - validate-x86_64-darwin - validate-x86_64-linux-llvm + - validate-hadrian-x86_64-linux nightly: triggers: |