[Git][ghc/ghc][master] Hadrian: Drop old/unused CI scripts
Marge Bot
gitlab at gitlab.haskell.org
Sat Apr 20 04:02:42 UTC 2019
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
10776562 by Andrey Mokhov at 2019-04-20T03:56:38Z
Hadrian: Drop old/unused CI scripts
- - - - -
3 changed files:
- − hadrian/.travis.yml
- − hadrian/appveyor.yml
- − hadrian/circle.yml
Changes:
=====================================
hadrian/.travis.yml deleted
=====================================
@@ -1,110 +0,0 @@
-sudo: true
-matrix:
- include:
- - os: linux
- env: MODE="selftest"
- compiler: "GHC 8.4.3"
- addons:
- apt:
- packages:
- - ghc-8.4.3
- - cabal-install-2.4
- - zlib1g-dev
- sources: hvr-ghc
-
- before_install:
- - PATH="/opt/ghc/8.4.3/bin:$PATH"
- - PATH="/opt/cabal/2.4/bin:$PATH"
-
- script:
- # Run internal Hadrian tests, after boot and configure.
- - hadrian/build.sh -c selftest
-
- - os: linux
- env: MODE="--flavour=quickest"
- compiler: "GHC 8.4.3"
- addons:
- apt:
- packages:
- - ghc-8.4.3
- - cabal-install-2.4
- - zlib1g-dev
- sources: hvr-ghc
-
- before_install:
- - PATH="/opt/ghc/8.4.3/bin:$PATH"
- - PATH="/opt/cabal/2.4/bin:$PATH"
-
- script:
- # Build GHC, letting hadrian boot & configure the ghc source tree
- - hadrian/build.sh -c -j $MODE --no-progress --progress-colour=never --profile=-
-
- - os: linux
- env: MODE="--flavour=quickest --integer-simple"
- compiler: "GHC 8.6.1"
- addons:
- apt:
- packages:
- - ghc-8.6.1
- - cabal-install-2.4
- - zlib1g-dev
- sources: hvr-ghc
-
- before_install:
- - PATH="/opt/ghc/8.6.1/bin:$PATH"
- - PATH="/opt/cabal/2.4/bin:$PATH"
-
- script:
- # boot, configure and build GHC
- - hadrian/build.sh -c -j $MODE --no-progress --progress-colour=never --profile=-
-
- # Test GHC binary
- - _build/stage1/bin/ghc -e 1+2
-
- - os: osx
- osx_image: xcode8
- env: MODE="--flavour=quickest --integer-simple"
- before_install:
- - brew update
- - brew install ghc cabal-install
- - brew upgrade python
-
- script:
- # Due to timeout limit of OS X build on Travis CI,
- # we will ignore selftest
- - hadrian/build.sh -j -c $MODE --no-progress --progress-colour=never --profile=-
-
- # Test GHC binary
- - _build/stage1/bin/ghc -e 1+2
-
-install:
- # Add Cabal to PATH
- - PATH="$HOME/.cabal/bin:$PATH"
- - export PATH
- - env
-
- # Fetch GHC sources into ./ghc
- - git --version
- - 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
- # --shallow-submodules is not supported on travis standard git 1.8 (linux), but it is supported
- # on Travis Mac OS X machines. But it does not work with github mirrors because it cannot
- # find commits.
-
- # Install all Hadrian and GHC build dependencies
- - cabal update
- - cabal install alex happy
-
- # GHC comes with an older version of Hadrian, so we delete it
- - rm -rf ghc/hadrian/.git
-
- # 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
- - mv .git ghc/hadrian
- - cd ghc/hadrian && git reset --hard HEAD && cd ..
-
-cache:
- directories:
- - $HOME/.cabal
- - $HOME/.ghc
=====================================
hadrian/appveyor.yml deleted
=====================================
@@ -1,38 +0,0 @@
-clone_folder: "c:\\new-hadrian"
-environment:
- global:
- STACK_ROOT: "c:\\sr"
-
-cache:
- - "c:\\sr -> appveyor.yml"
-
-install:
- # Get Stack
- - 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
- - cd ..
- - git clone --recursive git at gitlab.haskell.org:ghc/ghc.git
- # GHC comes with an older version of Hadrian, so we delete it
- - rm -rf ghc\hadrian
- # Copy new Hadrian into ./ghc/hadrian
- - cp -r 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 ghc\hadrian
- - stack setup > nul
- - appveyor-retry stack exec -- pacman -S autoconf automake-wrapper make patch python3 tar --noconfirm
-
-build_script:
- # Build GHC
- - cd ..
- - hadrian\build -c -j --flavour=quickest --integer-simple --no-progress --progress-colour=never --profile=-
-
- # Test GHC binary
- - _build\stage1\bin\ghc -e 1+2
=====================================
hadrian/circle.yml deleted
=====================================
@@ -1,45 +0,0 @@
-machine:
- xcode:
- version: 8.0
- environment:
- MODE: --flavour=quickest --integer-simple
-
-dependencies:
- override:
- - brew update
- - brew install ghc cabal-install python3
- - brew link ghc cabal-install python3
- - cabal update
- - cabal install alex 'happy >= 1.19.4' mtl shake QuickCheck
- cache_directories:
- - ~/.cabal
- - ~/.ghc
- - /usr/local/Cellar
-
-compile:
- override:
- # Fetch GHC sources into ./ghc
- - git --version
- - 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
-
- # GHC comes with an older version of Hadrian, so we delete it
- - rm -rf ghc/hadrian/.git
- # 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
- # in CircleCI is a separate process, thus you can't "cd" for the other lines
- - cd ghc/hadrian; git reset --hard HEAD
- - cd ghc; ./boot && PATH=~/.cabal/bin:$PATH ./configure
-
- # XXX: export PATH doesn't work well either, so we use inline env
- # Self test
- - cd ghc; PATH=~/.cabal/bin:$PATH hadrian/build.sh selftest
-
- # Build GHC
- - cd ghc; PATH=~/.cabal/bin:$PATH hadrian/build.sh -j $MODE --no-progress --progress-colour=never --profile=-
-
-test:
- override:
- # Test GHC binary
- - ghc/_build/stage1/bin/ghc -e 1+2
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/10776562d8b9c92f6dee0fec6294c07944b19442
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/10776562d8b9c92f6dee0fec6294c07944b19442
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190420/46d43d4c/attachment-0001.html>
More information about the ghc-commits
mailing list