[commit: ghc] master: Initial CircleCI support. (283eb1a)

git at git.haskell.org git at git.haskell.org
Thu Sep 21 13:54:53 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/283eb1a08480195deb6691b51e6407490986f5f8/ghc

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

commit 283eb1a08480195deb6691b51e6407490986f5f8
Author: Mathieu Boespflug <m at tweag.io>
Date:   Sun Sep 3 16:13:06 2017 +0200

    Initial CircleCI support.


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

283eb1a08480195deb6691b51e6407490986f5f8
 .circleci/config.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..6ee6c48
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,28 @@
+version: 2
+jobs:
+  build:
+    working_directory: ~/ghc
+    docker:
+    - image: haskell:8
+    resource_class: xlarge
+    steps:
+    - run:
+        name: git
+        command: |
+          apt-get update
+          apt-get install -y git openssh-client make automake autoconf gcc perl python3
+    - checkout
+    - run:
+        name: submodules
+        command: |
+          # Use github.com/ghc for those submodule repositories we couldn't connect to.
+          git config remote.origin.url git://github.com/ghc/ghc.git
+          git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
+          git submodule init # Don't be quiet, we want to show these urls.
+          git submodule --quiet update --recursive # Now we can be quiet again.
+    - run:
+        name: build
+        command: |
+          echo 'BUILD_SPHINX_HTML  = NO' >> mk/validate.mk
+          echo 'BUILD_SPHINX_PDF   = NO' >> mk/validate.mk
+          THREADS=8 SKIP_PERF_TESTS=YES VERBOSE=2 ./validate --fast --quiet



More information about the ghc-commits mailing list