[commit: ghc] wip/enable-freebsd-ci: circleci: Reenable FreeBSD (76a09b1)

git at git.haskell.org git at git.haskell.org
Sat Aug 11 02:36:37 UTC 2018


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

On branch  : wip/enable-freebsd-ci
Link       : http://ghc.haskell.org/trac/ghc/changeset/76a09b14380390551d69f52c951adac123e9de26/ghc

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

commit 76a09b14380390551d69f52c951adac123e9de26
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Jul 24 11:43:06 2018 -0400

    circleci: Reenable FreeBSD


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

76a09b14380390551d69f52c951adac123e9de26
 .circleci/config.yml        | 23 +++++++++++------------
 .circleci/prepare-system.sh |  7 ++++---
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 55cb87f..45b1ae1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -285,18 +285,17 @@ workflows:
   version: 2
   validate:
     jobs:
-    - validate-x86_64-linux:
-        *trigger_on_tags
-    # FreeBSD disabled: https://github.com/haskell/unix/issues/102
-    # - validate-x86_64-freebsd
-    - validate-x86_64-darwin:
-        *trigger_on_tags
-    - validate-x86_64-linux-llvm
-    - validate-i386-linux:
-        *trigger_on_tags
-    - validate-hadrian-x86_64-linux
-    - validate-x86_64-fedora:
-        *trigger_on_tags
+    #- validate-x86_64-linux:
+    #    *trigger_on_tags
+    - validate-x86_64-freebsd
+    #- validate-x86_64-darwin:
+    #    *trigger_on_tags
+    #- validate-x86_64-linux-llvm
+    #- validate-i386-linux:
+    #    *trigger_on_tags
+    #- validate-hadrian-x86_64-linux
+    #- validate-x86_64-fedora:
+    #    *trigger_on_tags
 
   nightly:
     triggers:
diff --git a/.circleci/prepare-system.sh b/.circleci/prepare-system.sh
index dbb1011..9a57464 100755
--- a/.circleci/prepare-system.sh
+++ b/.circleci/prepare-system.sh
@@ -29,17 +29,18 @@ case "$(uname)" in
         # cross-compiling to FreeBSD
         add-apt-repository -y ppa:hvr/ghc
         apt-get update -qq
-        apt-get install -qy ghc-8.0.2 cabal-install-1.24 alex happy \
+        apt-get install -qy ghc-8.4.3 cabal-install alex happy \
                             ncurses-dev git make automake autoconf gcc perl \
                             python3 texinfo xz-utils lbzip2 patch
         cabal update
-        cabal install --reinstall hscolour --index-state=$hackage_index_state
+        cabal install --reinstall hscolour
         ln -s $HOME/.cabal/bin/HsColour /usr/local/bin/HsColour
+        ls -l /opt/ghc
 
         echo 'HADDOCK_DOCS = NO' >> mk/build.mk
         echo 'WERROR=' >> mk/build.mk
         # https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-environment-variables
-        echo 'export PATH=/opt/ghc/bin:$PATH' >> $BASH_ENV
+        echo 'export PATH=/opt/ghc/8.4.3/bin:$PATH' >> $BASH_ENV
       else
         fail "TARGET=$target not supported"
       fi



More information about the ghc-commits mailing list