-
Notifications
You must be signed in to change notification settings - Fork 242
/
appveyor.yml
158 lines (130 loc) · 6.95 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
version: "{build}"
image: Visual Studio 2022
environment:
auth_token:
secure: Ren8cbJnovyLFJO+91+ZeMvHFuiN/gwss7avDjif0TdhD1rK5FdbH0DqegU87a5t
matrix:
- ARCH: x64
- ARCH: x86
matrix:
fast_finish: true
# Shallow clone cannot be used when using git-submodule
shallow_clone: false
build:
verbosity: minimal
before_build:
- >
if "%APPVEYOR_REPO_TAG%/%APPVEYOR_REPO_BRANCH%"=="false/master"
if not defined APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH
appveyor.exe exit
- 'ver'
- 'set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"'
- >
for /f "usebackq delims=" %%i
in (`"%VSWHERE%" -products * -latest -property installationPath`)
do (set VCVARSALL="%%i\VC\Auxiliary\Build\vcvarsall.bat")
- 'call %VCVARSALL% %ARCH%'
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" install'
build_script:
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" build'
after_build:
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" package'
test_script:
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" test'
artifacts:
- path: gvim_*_x86.zip
name: gvim_x86
- path: gvim_*_x86_pdb.zip
name: gvim_x86_pdb
- path: gvim_*_x64.zip
name: gvim_x64
- path: gvim_*_x64_pdb.zip
name: gvim_x64_pdb
- path: gvim_*_x86.exe
name: gvim_x86_installer
- path: gvim_*_x64.exe
name: gvim_x64_installer
- path: unsigned*.zip
name: vim_zip_for_signing
before_deploy:
- for /f "delims=" %%i in (gitlog.txt) do set GITLOG=%%i
# Remove the first 'v' from the tag name.
- set VIMVER=%APPVEYOR_REPO_TAG_NAME:~1%
- set URL=https://github.com/%APPVEYOR_REPO_NAME%/releases/download
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/47c0047c-0c1d-42b2-a16c-4ea6907dc813/Integrations/AppVeyor?SigningPolicyId=297bf19e-ccf4-4c01-b6e6-c327ee23792d
# not needed by Signpath
# on_build_success: true
# on_build_failure: false
# on_build_status_changed: false
# artifact: /unsigned*.zip/
# method: POST
authorization:
secure: eX3iWU3dQqDdg8UHR7Br6tqtvlFlhXihHcV0y/oR2YhSj6XZ2Pl/KVLiczUBCc39WWG/Aa5AXafWxaHQC/s40g==
# Deploy only on tags
on:
APPVEYOR_REPO_TAG: true
- provider: GitHub
description: |
[![$(APPVEYOR_REPO_TAG_NAME)](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/total.svg)](https://github.com/$(APPVEYOR_REPO_NAME)/releases/tag/$(APPVEYOR_REPO_TAG_NAME))
Nightly Vim Windows build snapshots ([more information](https://vim.fandom.com/wiki/Where_to_download_Vim)).
**If you do not know what to use, use the 32bit installer (use the signed one, if available).**
Signed releases will occasionally be provided on a best effort approach.
### Changes:
$(GITLOG)
<!--
_This release includes signed files_
-->
### Files:
<!-- commented out, because will only be enabled once the signed files are uploaded manually.
#### :lock: Signed Files:
* [![gvim_$(VIMVER)_x86_signed.exe](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_signed.exe.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_signed.exe)
Signed 32-bit installer (*If you don't know what to use, use this one*)
* [![gvim_$(VIMVER)_x64_signed.exe](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_signed.exe.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_signed.exe)
Signed 64-bit installer
* [![gvim_$(VIMVER)_x86_signed.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_signed.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_signed.zip)
Signed 32-bit zip archive
* [![gvim_$(VIMVER)_x64_signed.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_signed.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_signed.zip)
Signed 64-bit zip archive
-->
#### :unlock: Unsigned Files:
* [![gvim_$(VIMVER)_x86.exe](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86.exe.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86.exe)
32-bit installer (*If you don't know what to use, use this one*)
* [![gvim_$(VIMVER)_x64.exe](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64.exe.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64.exe)
64-bit installer
* [![gvim_$(VIMVER)_x86.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86.zip)
32-bit zip archive
* [![gvim_$(VIMVER)_x64.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64.zip)
64-bit zip archive
* [![gvim_$(VIMVER)_x86_pdb.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_pdb.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x86_pdb.zip)
pdb files for debugging the corresponding 32-bit executable
* [![gvim_$(VIMVER)_x64_pdb.zip](https://img.shields.io/github/downloads/$(APPVEYOR_REPO_NAME)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_pdb.zip.svg?label=downloads&logo=vim)]($(URL)/$(APPVEYOR_REPO_TAG_NAME)/gvim_$(VIMVER)_x64_pdb.zip)
pdb files for debugging the corresponding 64-bit executable
<details>
<summary>Interface Information</summary>
* [Strawberry Perl](http://strawberryperl.com/) 5.32
<!-- * [ActiveTcl](http://www.activestate.com/activetcl/downloads) 8.6.6 -->
* [LuaBinaries](http://luabinaries.sourceforge.net/download.html) 5.4
* [Python](https://www.python.org/downloads/) 2.7
* [Python3](https://www.python.org/downloads/) 3.8 or later
* [Racket](https://download.racket-lang.org/) 8.7 (BC)
* [RubyInstaller](http://rubyinstaller.org/downloads/) 3.2
* [libsodium](https://download.libsodium.org/libsodium/) 1.0.19
</details>
See the [README](https://github.com/vim/vim-win32-installer/blob/master/README.md) for detail.
auth_token: $(auth_token)
artifact: /^gvim_.*/
draft: true
prerelease: false
# Deploy only on tags
on:
APPVEYOR_REPO_TAG: true
# Cache is being disabled to allow signpath to sign the results
#cache:
# - downloads -> appveyor.bat
on_success:
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" onsuccess'
on_failure:
- '"%APPVEYOR_BUILD_FOLDER%\appveyor.bat" onfailure'
# vim: ts=2 sw=2 et