[commit: ghc] wip/circleci-ben: CircleCI: Try validating LLVM as well (aab88e6)

git at git.haskell.org git at git.haskell.org
Sun Nov 12 00:07:03 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/circleci-ben
Link       : http://ghc.haskell.org/trac/ghc/changeset/aab88e6fba18a04323b04c5d611c61ad8c7704f8/ghc

>---------------------------------------------------------------

commit aab88e6fba18a04323b04c5d611c61ad8c7704f8
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Nov 11 19:04:42 2017 -0500

    CircleCI: Try validating LLVM as well


>---------------------------------------------------------------

aab88e6fba18a04323b04c5d611c61ad8c7704f8
 .circleci/config.yml | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index cf660c0..46ad211 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -143,14 +143,40 @@ jobs:
       - *make
       - *test
 
+  "validate-x86_64-linux-llvm":
+    resource_class: xlarge
+    docker:
+      - image: haskell:8.2
+    environment:
+      <<: *buildenv
+    steps:
+      - run:
+          name: Install LLVM
+          command: |
+            curl http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-x86_64-linux-gnu-debian8.tar.xz | tar -xC ..
+            # See https://discuss.circleci.com/t/how-to-add-a-path-to-path-in-circle-2-0/11554/3
+            echo 'export PATH=`pwd`/clang+llvm-5.0.0-x86_64-linux-gnu-debian8/bin:$PATH' >> ~/.bashrc
+      - run:
+          name: Verify that llc works
+          command: llc
+      - *precheckout
+      - checkout
+      - *prepare
+      - *submodules
+      - *boot
+      - *configure_unreg
+      - *make
+      - *test
+
 workflows:
   version: 2
   validate:
     jobs:
-    - validate-x86_64-linux
+    #- validate-x86_64-linux
     # FreeBSD disabled: https://github.com/haskell/unix/issues/102
     # - validate-x86_64-freebsd
-    - validate-x86_64-darwin
+    #- validate-x86_64-darwin
+    - validate-x86_64-linux-llvm
 
   nightly:
     triggers:
@@ -162,3 +188,4 @@ workflows:
                 - master
     jobs:
     - validate-x86_64-linux-unreg
+    - validate-x86_64-linux-llvm



More information about the ghc-commits mailing list