Add AppVeyor file

This commit is contained in:
Olivier Chéron 2020-01-12 18:21:17 +01:00
parent 7f1c2980e2
commit b5d9b6cba5
4 changed files with 33 additions and 4 deletions

29
.appveyor.yml Normal file
View File

@ -0,0 +1,29 @@
# ~*~ auto-generated by haskell-ci with config : 90eae0e303541787a1c5382ef6f8198d8e3790ba5dd37a50c4def1fcd3995311 ~*~
version: "{build}"
clone_folder: C:\project
build: off
cache:
- "C:\\SR -> .appveyor.yml"
environment:
global:
STACK_ROOT: "C:\\SR"
matrix:
- { BUILD: "ghc-8.6", STACKCMD: "stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps", STACKCFG: "{ resolver: lts-14.7, packages: [ '.' ], extra-deps: [], flags: {} }", STACKURL: "https://www.stackage.org/stack/windows-x86_64" }
- { BUILD: "ghc-8.8", STACKCMD: "stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps", STACKCFG: "{ resolver: nightly-2019-10-05, packages: [ '.' ], extra-deps: [], flags: {} }", STACKURL: "https://www.stackage.org/stack/windows-x86_64" }
matrix:
fast_finish: true
install:
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -ostack.zip -L %STACKURL%
- 7z x stack.zip stack.exe
- refreshenv
test_script:
- echo %STACKCFG% > stack.yaml
- stack setup > nul
- echo "" | %STACKCMD%

View File

@ -14,8 +14,8 @@ option: basementmin extradep=basement-0.0.8 extradep=memory-0.14.18
build: ghc-8.2 basementmin
build: ghc-8.0 basementmin gaugedeps
build: ghc-8.4
build: ghc-8.6 os=linux,osx
build: ghc-8.8
build: ghc-8.6 os=linux,osx,windows
build: ghc-8.8 os=linux,windows
# packages
package: '.'

View File

@ -1,4 +1,4 @@
# ~*~ auto-generated by haskell-ci with config : 6451b289e8421706e753915b02cdb0906d18c9917aff02d07176a0862ec87cf3 ~*~
# ~*~ auto-generated by haskell-ci with config : 90eae0e303541787a1c5382ef6f8198d8e3790ba5dd37a50c4def1fcd3995311 ~*~
# Use new container infrastructure to enable caching
sudo: false

View File

@ -1,3 +1,3 @@
# ~*~ auto-generated by haskell-ci with config : 6451b289e8421706e753915b02cdb0906d18c9917aff02d07176a0862ec87cf3 ~*~
# ~*~ auto-generated by haskell-ci with config : 90eae0e303541787a1c5382ef6f8198d8e3790ba5dd37a50c4def1fcd3995311 ~*~
{ resolver: lts-14.7, packages: [ '.' ], extra-deps: [], flags: {} }