forked from OpenSmalltalk/opensmalltalk-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
136 lines (124 loc) · 3.76 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
environment:
matrix:
- FLAVOR: squeak.cog.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: squeak.cog.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
- FLAVOR: pharo.cog.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: pharo.cog.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
- FLAVOR: squeak.sista.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: squeak.cog.spur.lowcode
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: squeak.cog.v3
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: squeak.stack.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: squeak.stack.v3
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: pharo.sista.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: pharo.cog.spur.lowcode
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: newspeak.cog.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
- FLAVOR: newspeak.stack.spur
ARCH: win32x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
# - FLAVOR: pharo.sista.spur
# ARCH: win64x64
# CYG_ROOT: C:\cygwin64
# MINGW_ARCH: x86_64
- FLAVOR: newspeak.cog.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
- FLAVOR: squeak.stack.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
- FLAVOR: pharo.stack.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
- FLAVOR: newspeak.stack.spur
ARCH: win64x64
CYG_ROOT: C:\cygwin64
MINGW_ARCH: x86_64
matrix:
fast_finish: true
allow_failures:
- FLAVOR: squeak.sista.spur
- FLAVOR: pharo.sista.spur
- FLAVOR: squeak.cog.spur.lowcode
- FLAVOR: pharo.cog.spur.lowcode
notifications:
- provider: Email
to:
on_build_success: false
platform:
- x86
clone_depth: 5
cache:
- .thirdparty-cache
install:
- 'curl -fsSL --retry 4 -m 600 -o "setup-x86.exe" "http://cygwin.com/setup-x86.exe" '
- 'curl -fsSL --retry 4 -m 600 -o "setup-x86_64.exe" "http://cygwin.com/setup-x86_64.exe" '
- 'call scripts/installCygwin.bat %MINGW_ARCH% "%CYG_ROOT%"'
# Cygwin build script
#
# NOTES:
#
# The stdin/stdout file descriptor appears not to be valid for the Appveyor
# build which causes failures as certain functions attempt to redirect
# default file handles. Ensure a dummy file descriptor is opened with 'exec'.
build_script:
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; exec ./scripts/ci/travis_build.sh"'
# Using `after_build` instead of `before_deploy` and `deploy_script`.
# `before_deploy` is only invoked if the deployment provider is triggered.
# `deploy_script` is mutually exclusive to `deploy`.
# In addition, the vm needs to be packed before artifacts are collected.
after_build:
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/deploy; exec 0</dev/null; exec ./filter-exec.sh pack-vm.sh"'
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/deploy; exec 0</dev/null; exec ./filter-exec.sh bintray.sh"'
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/deploy/pharo; exec 0</dev/null; exec ./filter-exec.sh deploy.sh"'
test: off
artifacts:
- path: products\*.zip
name: osvm
deploy:
provider: GitHub # Deploy stable tags to GitHub releases
description: 'Automatic release'
auth_token:
secure: SOq4LiXFepptbgPZ4w2McefZOsRRAy8u88/+dpNof57BG4gYTvyESV1EB4CXTXjX
artifact: osvm
on:
appveyor_repo_tag: true