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
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
Alexander Kaznacheev
GHC
Commits
0951e03e
Commit
0951e03e
authored
7 years ago
by
Mark Karpov
Committed by
Ben Gamari
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Full AppVeyor build with tests
parent
d06a5a9d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.appveyor.sh
+4
-22
4 additions, 22 deletions
.appveyor.sh
appveyor.yml
+2
-1
2 additions, 1 deletion
appveyor.yml
with
6 additions
and
23 deletions
.appveyor.sh
+
4
−
22
View file @
0951e03e
# Configure the environment
MSYSTEM
=
MINGW64
THREADS
=
3
THREADS
=
9
SKIP_PERF_TESTS
=
YES
BUILD_FLAVOUR
=
quick
BUILD_FLAVOUR
=
source
/etc/profile
||
true
# a terrible, terrible workaround for msys2 brokenness
# Don't set -e until after /etc/profile is sourced
...
...
@@ -11,45 +11,27 @@ cd $APPVEYOR_BUILD_FOLDER
case
"
$1
"
in
"prepare"
)
# Bring msys up-to-date
# However, we current don't do this: generally one must restart all
# msys2 processes when updating the msys2 runtime, which this may do. We can't
# easily do this and therefore do simply don't update.
#pacman --noconfirm -Syuu
# Install basic build dependencies
pacman
--noconfirm
-S
--needed
git
tar
bsdtar binutils autoconf make xz curl libtool automake python python2 p7zip patch mingw-w64-
$(
uname
-m
)
-python3-sphinx
mingw-w64-
$(
uname
-m
)
-tools-git
# Prepare the tree
git config remote.origin.url git://github.com/ghc/ghc.git
git config
--global
url.
"git://github.com/ghc/packages-"
.insteadOf git://github.com/ghc/packages/
git submodule init
git submodule
--quiet
update
--recursive
# Install build dependencies
wget
-q
-O
- https://downloads.haskell.org/~ghc/8.2.1/ghc-8.2.1-x86_64-unknown-mingw32.tar.xz |
tar
-xJ
-C
/mingw64
--strip-components
=
1
mkdir
-p
/usr/local/bin
wget
-q
-O
- https://www.haskell.org/cabal/release/cabal-install-1.24.0.0/cabal-install-1.24.0.0-x86_64-unknown-mingw32.zip | bsdtar
-xzf-
-C
/usr/local/bin
cabal update
cabal
install
-j
--prefix
=
/usr/local alex happy
;;
"build"
)
# Build the compiler
./boot
./configure
--enable-tarballs-autodownload
cat
<<
EOF
>> mk/build.mk
BuildFlavour=
$BUILD_FLAVOUR
ifneq "
\$
(BuildFlavour)" ""
include mk/flavours/
\$
(BuildFlavour).mk
endif
EOF
./configure
--enable-tarballs-autodownload
make
-j
$THREADS
;;
"test"
)
# This does not finish in time.
# make fasttest THREADS=$THREADS
make
test
THREADS
=
$THREADS
make binary-dist
7z a ghc-windows.zip
*
.tar.xz
;;
...
...
This diff is collapsed.
Click to expand it.
appveyor.yml
+
2
−
1
View file @
0951e03e
version
:
"
{build}"
build_cloud
:
ghc-gce-cloud
image
:
GHC-GCE
build
:
verbosity
:
normal
...
...
@@ -12,7 +14,6 @@ environment:
MSYSTEM
:
MINGW64
BIT
:
64
os
:
Visual Studio
2015
deploy
:
off
install
:
...
...
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