[Git][ghc/ghc][wip/backports-8.8] gitlab-ci: Make before_script PowerShell compatible

Ben Gamari gitlab at gitlab.haskell.org
Sun Jul 12 00:58:32 UTC 2020



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


Commits:
87608fe9 by Ben Gamari at 2020-07-11T20:57:58-04:00
gitlab-ci: Make before_script PowerShell compatible

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -571,6 +571,14 @@ release-x86_64-linux-fedora27-dwarf:
   allow_failure: true
   variables:
     GHC_VERSION: "8.8.3"
+  before_script:
+    - python3 .gitlab/fix-submodules.py
+    - git submodule sync --recursive
+    - git submodule update --init --recursive
+    - git checkout .gitmodules
+      # N.B. Drop bash syntax on Windows since this is interpreted by
+      # PowerShell.
+    - "git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf"
   script:
     - |
       python boot



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/87608fe9da4d992ea1651f44422d9dbef9220234

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/87608fe9da4d992ea1651f44422d9dbef9220234
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/e98c20cb/attachment.html>


More information about the ghc-commits mailing list