Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
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
0
Merge Requests
0
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
Matt Renaud
GHC
Commits
a6797641
Unverified
Commit
a6797641
authored
Nov 11, 2017
by
Andrey Mokhov
Committed by
GitHub
Nov 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CI scripts (
#454
)
See
#453
parent
06ec241e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
13 deletions
+18
-13
.travis.yml
.travis.yml
+3
-1
appveyor.yml
appveyor.yml
+13
-11
circle.yml
circle.yml
+2
-1
No files found.
.travis.yml
View file @
a6797641
...
...
@@ -76,10 +76,12 @@ install:
-
cabal update
-
cabal install alex happy
# GHC comes with an older version of Hadrian, so we delete it
-
rm -r ghc/hadrian/*
# Travis has already cloned Hadrian into ./ and we need to move it
# to ./ghc/hadrian -- one way to do it is to move the .git directory
# and perform a hard reset in order to regenerate Hadrian files
-
mkdir ghc/hadrian
-
mv .git ghc/hadrian
-
cd ghc/hadrian
-
git reset --hard HEAD
...
...
appveyor.yml
View file @
a6797641
clone_folder
:
"
c:
\\
ghc
\\
hadrian"
clone_folder
:
"
c:
\\
new-
hadrian"
environment
:
global
:
STACK_ROOT
:
"
c:
\\
sr"
...
...
@@ -11,24 +11,26 @@ install:
-
curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
-
7z x stack.zip stack.exe
# Note: AppVeyor has already cloned Hadrian into c:\new-hadrian
# Fetch GHC sources into c:\ghc
# Note: AppVeyor has already cloned Hadrian into c:\ghc\hadrian, so it's tricky
-
cd ..
-
git init
-
git remote add origin git://git.haskell.org/ghc.git
-
git pull --recurse-submodules origin master
-
git submodule update --init --recursive --quiet
-
git clone --recursive git://git.haskell.org/ghc.git
# GHC comes with an older version of Hadrian, so we delete it
-
rm -rf ghc\hadrian
# Move new Hadrian into ./ghc/hadrian
-
mv new-hadrian ghc\hadrian
# Install Alex and Happy
-
set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
-
ghc\hadrian\stack install --install-ghc alex happy > nul
# Install all Hadrian and GHC build dependencies
-
cd hadrian
-
cd
ghc\
hadrian
-
stack setup > nul
-
appveyor-retry stack exec -- pacman -S autoconf automake-wrapper make patch python tar --noconfirm
build_script
:
# Build Hadrian
-
stack build alex happy
# Otherwise 'build' fails on AppVeyor
# Run internal Hadrian tests
# Build Hadrian and run internal Hadrian tests
-
build selftest
# Build GHC
...
...
circle.yml
View file @
a6797641
...
...
@@ -21,7 +21,8 @@ compile:
-
git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
-
git clone --depth 1 --recursive git://github.com/ghc/ghc
-
mkdir ghc/hadrian
# GHC comes with an older version of Hadrian, so we delete it
-
rm -r ghc/hadrian/*
# move hadrian's .git into ./ghc/hadrian and perform a hard reset in order to regenerate Hadrian files
-
mv .git ghc/hadrian
# NOTE: we must write them in the same line because each line
...
...
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