From 09f142052e7049d9484c8968ac287e137ebe72b0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 11 Jan 2020 12:28:42 +0300 Subject: appveyor.yml -> .appveyor.yml --- .appveyor.yml | 33 +++++++++++++++++++++++++++++++++ appveyor.yml | 33 --------------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) create mode 100644 .appveyor.yml delete mode 100644 appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..d76fe1b --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,33 @@ +version: '{build}' + +environment: + STACK_ROOT: C:\sr + install_dir: C:\Projects\install\windows-env + +platform: + - i386 + - x86_64 + +before_build: + - >- + curl.exe + --silent + --show-error + --location + --insecure + --output C:\stack.zip + -- "https://get.haskellstack.org/stable/windows-%PLATFORM%.zip" + - 7z.exe x "-o%STACK_ROOT%" C:\stack.zip + +build_script: + - >- + "%STACK_ROOT%\stack.exe" + build + --install-ghc + --copy-bins + --local-bin-path "%install_dir%" + --arch "%PLATFORM%" + +after_build: + - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" "%install_dir%" + - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d76fe1b..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,33 +0,0 @@ -version: '{build}' - -environment: - STACK_ROOT: C:\sr - install_dir: C:\Projects\install\windows-env - -platform: - - i386 - - x86_64 - -before_build: - - >- - curl.exe - --silent - --show-error - --location - --insecure - --output C:\stack.zip - -- "https://get.haskellstack.org/stable/windows-%PLATFORM%.zip" - - 7z.exe x "-o%STACK_ROOT%" C:\stack.zip - -build_script: - - >- - "%STACK_ROOT%\stack.exe" - build - --install-ghc - --copy-bins - --local-bin-path "%install_dir%" - --arch "%PLATFORM%" - -after_build: - - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" "%install_dir%" - - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" -- cgit v1.2.3