[commit: ghc] master: circleci: Build with Hadrian (e2cc106)
git at git.haskell.org
git at git.haskell.org
Thu Nov 23 14:57:17 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e2cc1069fa17d20f4e3d1d677c8e2d2695f26aad/ghc
>---------------------------------------------------------------
commit e2cc1069fa17d20f4e3d1d677c8e2d2695f26aad
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sat Nov 18 14:50:24 2017 -0500
circleci: Build with Hadrian
>---------------------------------------------------------------
e2cc1069fa17d20f4e3d1d677c8e2d2695f26aad
.circleci/config.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a830f94..bac3276 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:
More information about the ghc-commits
mailing list