aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.appveyor.yml
blob: 8e4dd8bc4e645be46fb0a20c5b4ab9be84b9df5c (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                  

                   
                                              
 



          


                   
             







                                                                   

                                          
             






                                    



                                                                      
version: '{build}'

environment:
  STACK_ROOT: C:\sr
  install_dir: C:\Projects\install\windows-env

platform:
  - i386
  - x86_64

matrix:
  fast_finish: true

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"