-
Notifications
You must be signed in to change notification settings - Fork 108
/
.appveyor.yml
198 lines (183 loc) · 5.83 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
environment:
matrix:
# Main VM variants
- 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
# Main minheadless VM variants.
- FLAVOR: squeak.cog.spur.minheadless
ARCH: win32x86
CPU_ARCH: x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
BUILD_WITH_CMAKE: yes
# - FLAVOR: squeak.cog.spur
# ARCH: win64x64
# CPU_ARCH: x64
# CYG_ROOT: C:\cygwin64
# MINGW_ARCH: x86_64
# BUILD_WITH_CMAKE: yes
- FLAVOR: pharo.cog.spur.minheadless
ARCH: win32x86
CPU_ARCH: x86
CYG_ROOT: C:\cygwin
MINGW_ARCH: i686
BUILD_WITH_CMAKE: yes
# - FLAVOR: pharo.cog.spur
# ARCH: win64x64
# CPU_ARCH: x64
# CYG_ROOT: C:\cygwin64
# MINGW_ARCH: x86_64
# BUILD_WITH_CMAKE: yes
# Minheadless VM variants with SDL2 based support for traditional display.
# - FLAVOR: squeak.cog.spur+sdl2
# ARCH: win32x86
# CPU_ARCH: x86
# CYG_ROOT: C:\cygwin
# MINGW_ARCH: i686
# BUILD_WITH_CMAKE: yes
# - FLAVOR: squeak.cog.spur+sdl2
# ARCH: win64x64
# CPU_ARCH: x64
# CYG_ROOT: C:\cygwin64
# MINGW_ARCH: x86_64
# BUILD_WITH_CMAKE: yes
# - FLAVOR: pharo.cog.spur+sdl2
# ARCH: win32x86
# CPU_ARCH: x86
# CYG_ROOT: C:\cygwin
# MINGW_ARCH: i686
# BUILD_WITH_CMAKE: yes
# - FLAVOR: pharo.cog.spur+sdl2
# ARCH: win64x64
# CPU_ARCH: x64
# CYG_ROOT: C:\cygwin64
# MINGW_ARCH: x86_64
# BUILD_WITH_CMAKE: yes
# Other VM variants
- 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.cog.spur.minheadless
- FLAVOR: pharo.cog.spur.minheadless
- FLAVOR: squeak.sista.spur
- FLAVOR: pharo.sista.spur
- FLAVOR: squeak.cog.spur.lowcode
- FLAVOR: pharo.cog.spur.lowcode
notifications:
- provider: Email
to:
- vm-dev@lists.squeakfoundation.org
on_build_success: false
platform:
- x86
clone_depth: 5
cache:
- .thirdparty-cache
install:
# Search for [appveyor skip], [skip appveyor], [skip ci] or [ci skip] and exit if found in full commit message
- ps: $commit=$env:APPVEYOR_REPO_COMMIT_MESSAGE + $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED
- ps: If ($commit.Contains("[skip appveyor]") -Or $commit.Contains("[appveyor skip]")) { Exit-AppVeyorBuild }
- ps: $commit=$env:APPVEYOR_REPO_COMMIT_MESSAGE + $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED
- ps: If ($commit.Contains("[skip ci]") -Or $commit.Contains("[ci skip]")) { Exit-AppVeyorBuild }
- '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