diff options
author | Andrey Mokhov <andrey.mokhov@gmail.com> | 2019-04-18 23:52:17 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-04-19 23:56:38 -0400 |
commit | 10776562d8b9c92f6dee0fec6294c07944b19442 (patch) | |
tree | 9a880786b120f488d1c1a8efdcb705db327de35c | |
parent | 99dd5d6b8365ecc8748651395c503b2c0b82490e (diff) | |
download | haskell-10776562d8b9c92f6dee0fec6294c07944b19442.tar.gz |
Hadrian: Drop old/unused CI scripts
-rw-r--r-- | hadrian/.travis.yml | 110 | ||||
-rw-r--r-- | hadrian/appveyor.yml | 38 | ||||
-rw-r--r-- | hadrian/circle.yml | 45 |
3 files changed, 0 insertions, 193 deletions
diff --git a/hadrian/.travis.yml b/hadrian/.travis.yml deleted file mode 100644 index f670784cb5..0000000000 --- a/hadrian/.travis.yml +++ /dev/null @@ -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 diff --git a/hadrian/appveyor.yml b/hadrian/appveyor.yml deleted file mode 100644 index b3142bd4b9..0000000000 --- a/hadrian/appveyor.yml +++ /dev/null @@ -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@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 diff --git a/hadrian/circle.yml b/hadrian/circle.yml deleted file mode 100644 index 4d0d97340e..0000000000 --- a/hadrian/circle.yml +++ /dev/null @@ -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 |