-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
51 lines (40 loc) · 1.08 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
42
43
44
45
46
47
48
49
50
51
build: off
version: 0.0.1.{build}
image:
- Visual Studio 2015
- Ubuntu
branches:
only:
- master
for:
-
matrix:
only:
- image: Ubuntu
environment:
OS: linux
cache:
- '$HOME/.stack'
install:
- sh: mkdir -p ~/.local/bin
- sh: export PATH=$HOME/.local/bin:$PATH
- sh: curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
test_script:
- sh: echo $OS
- sh: stack --no-terminal --install-ghc test --only-dependencies
after_test:
- sh: stack install
- sh: tar -czvf "howl-$OS-x86_64.tar.gz" "$HOME/.local/bin/howl"
artifacts:
- path: howl-*.tar.gz
name: HowlLinux
deploy:
- provider: GitHub
release: howl-v$APPVEYOR_BUILD_VERSION
artifact: HowlLinux
draft: true
auth_token:
secure: TVsVRmN1rXlYJyeqnh84MvFLvnqvrPsB4SKkHYy5SOrOI19rHnJfr8pcWw40zyrp
prerelease: false
on:
branch: master