-
Notifications
You must be signed in to change notification settings - Fork 47
/
.appveyor.yml
41 lines (32 loc) · 1.19 KB
/
.appveyor.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
build: off
version: 1.0.{build}-{branch}
image: Visual Studio 2022
before_test:
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
- powershell .appveyor/preload_certs.ps
clone_folder: "c:\\project-m36"
clone_depth: 2
environment:
global:
STACK_ROOT: "c:\\sr"
matrix:
# don't forget to also change the cache directory below
- YAML: "stack.ghc9.2.yaml"
platform:
- x64
cache:
- "c:\\sr"
- "%LocalAppData%\\Programs\\stack\\x86_64-windows\\ghc-9.0.2"
# - ".stack-work" # send us over the 1 GB limit
test_script:
- stack setup > nul
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --stack-yaml %YAML% --no-terminal test
# - 7z.exe a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on project-m36.7z .stack-work\install\*\bin\project-m36-server.exe .stack-work\install\*\bin\project-m36-websocket-server.exe .stack-work\install\*\bin\tutd.exe .stack-work\install\*\bin\project-m36-server.exe
#artifacts:
# - path: project-m36.7z
# name: project-m36.7z