Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Travis Whitaker
GHC
Commits
9acdc4c0
Commit
9acdc4c0
authored
6 years ago
by
Ben Gamari
Committed by
Marge Bot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gitlab: Bump cabal-install version used by Windows builds to 2.4
Hopefully fixes Windows Hadrian build.
parent
fe40ddd9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+9
-5
9 additions, 5 deletions
.gitlab-ci.yml
.gitlab/win32-init.sh
+2
-1
2 additions, 1 deletion
.gitlab/win32-init.sh
with
11 additions
and
6 deletions
.gitlab-ci.yml
+
9
−
5
View file @
9acdc4c0
...
...
@@ -4,6 +4,10 @@ variables:
# Commit of ghc/ci-images repository from which to pull Docker images
DOCKER_REV
:
cefaee3c742af193e0f7783f87edb0d35374515c
# Sequential version number capturing the versions of all tools fetched by
# .gitlab/win32-init.sh.
WINDOWS_TOOLCHAIN_VERSION
:
1
before_script
:
-
python3 .gitlab/fix-submodules.py
-
git submodule sync --recursive
...
...
@@ -525,7 +529,7 @@ validate-x86_64-windows-hadrian:
variables
:
MSYSTEM
:
MINGW64
cache
:
key
:
x86_64-windows-hadrian
key
:
"
x86_64-windows-hadrian
-$WINDOWS_TOOLCHAIN_VERSION"
nightly-i386-windows-hadrian
:
extends
:
.build-windows-hadrian
...
...
@@ -535,7 +539,7 @@ nightly-i386-windows-hadrian:
variables
:
-
$NIGHTLY
cache
:
key
:
i386-windows-hadrian
key
:
"
i386-windows-hadrian
-$WINDOWS_TOOLCHAIN_VERSION"
.build-windows-make
:
extends
:
.build-windows
...
...
@@ -571,7 +575,7 @@ validate-x86_64-windows:
MSYSTEM
:
MINGW64
CONFIGURE_ARGS
:
"
--target=x86_64-unknown-mingw32"
cache
:
key
:
x86_64-windows
key
:
"
x86_64-windows
-$WINDOWS_TOOLCHAIN_VERSION"
# Normal Windows validate builds are profiled; that won't do for releases.
release-x86_64-windows
:
...
...
@@ -592,7 +596,7 @@ release-i386-windows:
BUILD_FLAVOUR
:
"
perf"
CONFIGURE_ARGS
:
"
--target=i386-unknown-mingw32"
cache
:
key
:
i386-windows
key
:
"
i386-windows
-$WINDOWS_TOOLCHAIN_VERSION"
nightly-i386-windows
:
extends
:
.build-windows-make
...
...
@@ -603,7 +607,7 @@ nightly-i386-windows:
MSYSTEM
:
MINGW32
CONFIGURE_ARGS
:
"
--target=i386-unknown-mingw32"
cache
:
key
:
i386-windows
key
:
"
i386-windows
-$WINDOWS_TOOLCHAIN_VERSION"
############################################################
# Cleanup
...
...
This diff is collapsed.
Click to expand it.
.gitlab/win32-init.sh
+
2
−
1
View file @
9acdc4c0
...
...
@@ -27,7 +27,8 @@ if [ ! -e $toolchain/bin/ghc ]; then
fi
if
[
!
-e
$toolchain
/bin/cabal
]
;
then
curl https://www.haskell.org/cabal/release/cabal-install-2.2.0.0/cabal-install-2.2.0.0-i386-unknown-mingw32.zip
>
/tmp/cabal.zip
url
=
"https://downloads.haskell.org/~cabal/cabal-install-latest/cabal-install-2.4.1.0-x86_64-unknown-mingw32.zip"
curl
$url
>
/tmp/cabal.zip
unzip /tmp/cabal.zip
mv
cabal.exe
$toolchain
/bin
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment