[Git][ghc/ghc][wip/backports-8.8] gitlab-ci: Bootstrap with 8.8.4-rc1 on Windows

Ben Gamari gitlab at gitlab.haskell.org
Sat Jul 11 14:03:16 UTC 2020



Ben Gamari pushed to branch wip/backports-8.8 at Glasgow Haskell Compiler / GHC


Commits:
0e57e4ab by Ben Gamari at 2020-07-11T10:02:43-04:00
gitlab-ci: Bootstrap with 8.8.4-rc1 on Windows

This avoids bugs in the `process` library during bootstrapping.

- - - - -


2 changed files:

- .gitlab-ci.yml
- .gitlab/win32-init.sh


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -636,6 +636,8 @@ validate-x86_64-windows:
   extends: .build-windows-make
   variables:
     MSYSTEM: MINGW64
+    GHC_VERSION: 8.8.4-rc1
+    GHC_TARBALL_URL: "https://downloads.haskell.org/~ghc/8.8.4-rc1/ghc-8.8.3.20200710-x86_64-unknown-mingw32.tar.xz"
     BUILD_FLAVOUR: "quick"
     CONFIGURE_ARGS: "--target=x86_64-unknown-mingw32"
   cache:
@@ -647,6 +649,8 @@ release-x86_64-windows:
   extends: validate-x86_64-windows
   variables:
     MSYSTEM: MINGW64
+    GHC_VERSION: 8.8.4-rc1
+    GHC_TARBALL_URL: "https://downloads.haskell.org/~ghc/8.8.4-rc1/ghc-8.8.3.20200710-x86_64-unknown-mingw32.tar.xz"
     BUILD_FLAVOUR: "perf"
     CONFIGURE_ARGS: "--target=x86_64-unknown-mingw32"
 


=====================================
.gitlab/win32-init.sh
=====================================
@@ -22,7 +22,10 @@ if [ ! -e $toolchain/bin/ghc ]; then
         exit 1
         ;;
     esac
-    curl https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-$triple.tar.xz | tar -xJ
+    if [ -z "$GHC_TARBALL_URL" ]; then
+      GHC_TARBALL_URL="https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-$triple.tar.xz"
+    fi
+    curl "$GHC_TARBALL_URL" | tar -xJ
     mv ghc-$GHC_VERSION toolchain
 fi
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0e57e4ab0e651d51c9378df79dfb32c95723521e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0e57e4ab0e651d51c9378df79dfb32c95723521e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200711/0fbfba8e/attachment-0001.html>


More information about the ghc-commits mailing list