From c14370d765efb81ead9a80dc5450dc97e3167b6e Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Mon, 12 Sep 2022 16:07:55 +0000 Subject: ci: remove unused appveyor config --- .appveyor.sh | 44 -------------------------------------------- appveyor.yml | 31 ------------------------------- 2 files changed, 75 deletions(-) delete mode 100644 .appveyor.sh delete mode 100644 appveyor.yml diff --git a/.appveyor.sh b/.appveyor.sh deleted file mode 100644 index 1a3e597da4..0000000000 --- a/.appveyor.sh +++ /dev/null @@ -1,44 +0,0 @@ -# Configure the environment -MSYSTEM=MINGW64 -THREADS=9 -SKIP_PERF_TESTS=YES -BUILD_FLAVOUR= -source /etc/profile || true # a terrible, terrible workaround for msys2 brokenness - -# Don't set -e until after /etc/profile is sourced -set -ex -cd $APPVEYOR_BUILD_FOLDER - -case "$1" in - "prepare") - # 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 - ;; - "build") - # Build the compiler - ./boot - cat <> mk/build.mk - BuildFlavour=$BUILD_FLAVOUR - ifneq "\$(BuildFlavour)" "" - include mk/flavours/\$(BuildFlavour).mk - endif -EOF - ./configure --enable-tarballs-autodownload - make -j$THREADS - ;; - - "test") - make binary-dist - curl https://ghc-artifacts.s3.amazonaws.com/tools/ghc-artifact-collector-x86_64-windows --output ghc-artifact-collector - ./ghc-artifact-collector *.tar.xz - make test THREADS=$THREADS - ;; - - *) - echo "$0: unknown mode $1" - exit 1 - ;; -esac diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d7623e40e6..0000000000 --- a/appveyor.yml +++ /dev/null @@ -1,31 +0,0 @@ -version: "{build}" -build_cloud: ghc-gce-cloud -image: GHC-GCE - -build: - verbosity: normal - -environment: - matrix: - - COMPILER: msys2 - PLATFORM: x64 - MSYS2_ARCH: x86_64 - MSYS2_DIR: msys64 - MSYSTEM: MINGW64 - BIT: 64 - -deploy: off - -install: - - cmd: | - SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;%PATH%" - bash .appveyor.sh prepare - -build_script: - - bash .appveyor.sh build - - bash .appveyor.sh test - -artifacts: - - path: ghc-windows.zip - name: GHC Windows bindist - type: zip -- cgit v1.2.1