Skip to content
Snippets Groups Projects
Commit 90ceafa8 authored by Ben Gamari's avatar Ben Gamari
Browse files

gitlab: Drop submodules hack

parent f109865f
No related branches found
No related tags found
No related merge requests found
variables:
GIT_SSL_NO_VERIFY: "1"
before_script:
- python3 .gitlab/fix-submodules.py
- git submodule sync --recursive
- git submodule update --init --recursive
- git checkout .gitmodules
GIT_SUBMODULES_STRATEGY: "recursive"
stages:
- lint
......@@ -53,10 +48,6 @@ validate-x86_64-linux-deb8-hadrian:
before_script:
# workaround for docker permissions
- sudo chown ghc:ghc -R .
- python3 .gitlab/fix-submodules.py
- git submodule sync --recursive
- git submodule update --init --recursive
- git checkout .gitmodules
tags:
- x86_64-linux
......@@ -100,11 +91,6 @@ validate-x86_64-darwin:
# Only Sierra and onwards supports clock_gettime. See #12858
ac_cv_func_clock_gettime: "no"
before_script:
- python .gitlab/fix-submodules.py
- git submodule sync --recursive
- git submodule update --init --recursive
- git checkout .gitmodules
- bash .gitlab/darwin-init.sh
- PATH="`pwd`/toolchain/bin:$PATH"
# Disable sphinx PDF output as MacTeX apparently doesn't provide xelatex
......@@ -125,11 +111,6 @@ validate-x86_64-darwin:
tags:
- x86_64-linux
before_script:
- python3 .gitlab/fix-submodules.py
- git submodule sync --recursive
- git submodule update --init --recursive
- git checkout .gitmodules
- bash .circleci/prepare-system.sh
# workaround for docker permissions
- sudo chown ghc:ghc -R .
......
#!/usr/bin/python
import re
x = open('.gitmodules').read()
x = re.sub(r"url *= *\.\.", "url = https://git.haskell.org", x)
open('.gitmodules', 'w').write(x)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment