Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Adam Sandberg Eriksson
Glasgow Haskell Compiler
Commits
6c505087
Commit
6c505087
authored
Dec 19, 2018
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: Fix Windows build
parent
b1e029a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
.gitlab-ci.yml
.gitlab-ci.yml
+20
-18
No files found.
.gitlab-ci.yml
View file @
6c505087
...
...
@@ -253,15 +253,28 @@ validate-x86_64-linux-deb9-unreg:
# Validation via Pipelines (Windows)
############################################################
.validate-windows
:
before_script
:
-
PATH=C:\msys64\usr\bin;%PATH%
-
python .gitlab/fix-submodules.py
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git checkout .gitmodules
-
bash .gitlab/win32-init.sh
cache
:
paths
:
-
cabal-cache
-
ghc-8.6.2
-
ghc-tarballs
validate-x86_64-windows-hadrian
:
extends
:
.validate-windows
stage
:
full-build
variables
:
GHC_VERSION
:
"
8.6.2"
# due to #16073
allow_failure
:
true
script
:
-
PATH=C:\msys64\usr\bin;%PATH%
-
bash .gitlab/win32-init.sh
-
|
set MSYSTEM=MINGW64
python boot
...
...
@@ -271,39 +284,28 @@ validate-x86_64-windows-hadrian:
# FIXME: --no-lint due to #15950
-
bash -c "PATH=`pwd`/toolchain/bin:$PATH hadrian/build.cabal.sh -j`mk/detect-cpu-count.sh` --flavour=Quick --no-lint"
-
bash -c "PATH=`pwd`/toolchain/bin:$PATH hadrian/build.cabal.sh binary-dist"
-
mv ghc-*.tar.xz ghc.tar.xz
-
bash -c 'make V=0 -j`mk/detect-cpu-count.sh` HADDOCK_DOCS=NO test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
-
bash -c 'make V=0 test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
-
cp -Rf $APPDATA/cabal cabal-cache
cache
:
key
:
windows-hadrian
paths
:
-
cabal-cache
-
ghc-8.6.2
-
ghc-tarballs
key
:
x86_64-windows
tags
:
-
x86_64-windows
validate-x86_64-windows
:
extends
:
.validate-windows
stage
:
full-build
variables
:
GHC_VERSION
:
"
8.6.2"
script
:
-
PATH=C:\msys64\usr\bin;%PATH%
-
bash .gitlab/win32-init.sh
-
|
set MSYSTEM=MINGW64
python boot
bash -c './configure --with-ghc=`pwd`/toolchain/bin/ghc --enable-tarballs-autodownload HappyCmd=`pwd`/toolchain/bin/happy AlexCmd=`pwd`/toolchain/bin/alex'
-
bash -c "PATH=`pwd`/toolchain/bin:$PATH make -j`mk/detect-cpu-count.sh`"
-
mv ghc-*.tar.xz ghc.tar.xz
-
bash -c 'make V=0 -j`mk/detect-cpu-count.sh` HADDOCK_DOCS=NO test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
-
bash -c 'make V=0 test THREADS=$THREADS JUNIT_FILE=../../junit.xml'
-
cp -Rf $APPDATA/cabal cabal-cache
cache
:
key
:
windows
paths
:
-
cabal-cache
-
ghc-8.6.2
-
ghc-tarballs
key
:
x86_64-windows
tags
:
-
x86_64-windows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment