aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.appveyor.yml
blob: 5949ed102c049067cc58cff9600470dbcb521119 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '{build}'

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

platform:
  - i386
  - x86_64

matrix:
  fast_finish: true

before_build:
  - choco.exe install haskell-stack

build_script:
  - >-
    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"