-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
87 lines (69 loc) · 2.4 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
version: "{build}"
image: Visual Studio 2019
# Build only on tags
skip_non_tags: true
branches:
only:
- master
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-http-proxy.ps1'))
before_build:
- PATH C:\Python312-x64;C:\Python312-x64\Scripts;%PATH%
- SET
- DIR C:\
- pip install -r requirements.txt
- download.bat
- 7z x downloads\ninja-win.zip ninja.exe
- ninja.exe --version
- git submodule update --init --depth 100
- configure.bat
- type config.bat
- type config.ninja
build_script:
- ninja.exe
test: off
artifacts:
- path: gvim-*-x86.exe
name: gVim_x86_installer
- path: gvim-*-x86.zip
name: gVim_x86
- path: gvim-*-amd64.exe
name: gVim_amd64_installer
- path: gvim-*-amd64.zip
name: gVim_amd64
before_deploy:
- cmd: IF "%APPVEYOR_REPO_TAG%" == "true" SET VIMTAG=%APPVEYOR_REPO_TAG_NAME%
- cmd: IF "%APPVEYOR_REPO_TAG%" == "false" (FOR /F "delims=" %%i in ('git -C vim describe --tags --abbrev^=0') DO SET VIMTAG=%%i)
- cmd: SET VIMVER=%VIMTAG:v=%
- cmd: FOR /F "delims=" %%i in ('python.exe scripts\gitlog.py %VIMTAG%') DO SET GITLOG=%%i
- ps: $ErrorActionPreference = "Stop"
- ps: Set-AppveyorBuildVariable 'HashTable' (Get-ChildItem "gvim*" -File | ForEach-Object -Process { $t=(Get-FileHash $_.Name -Algorithm SHA256); "{0} *{1}" -f $t.Hash,(Get-Item $t.Path).Name } | Out-String)
- ps: Add-AppveyorMessage "$env:HashTable"
- ps: Write-Host $env:HashTable
deploy:
- provider: GitHub
tag: "$(VIMTAG)"
description: |
Custom build of GVim/Vim for Windows.
Use gvim-$(VIMVER)-x86.exe or gvim-$(VIMVER)-amd64.exe to install GVim/Vim.
$(GITLOG)
Current packages linked to GVim/Vim
* [LuaBinaries](http://luabinaries.sourceforge.net/download.html) 5.1.4
* [Perl](http://perl.org) 5.32.1
* [Tcl](http://www.tcl.tk) 8.6.11
* [Ruby](https://www.ruby-lang.org/en/downloads/) 3.2.2
* [Python](https://www.python.org/downloads/) 2.7
* [Python3](https://www.python.org/downloads/) 3.12
* [Libsodium](https://doc.libsodium.org) 1.0.19
SHA256 sums
```
$(HashTable)
```
auth_token:
secure: 5mL/zCUjolWG7x9ind3+LG3umDNuUsOu99DY3xZNxR52l3i7lc+RUXv+xkr8HDBk
artifact: /gVim/
draft: false
force_update: true
cache:
- downloads -> appveyor.yml, packages.txt
# vim : ts=2 ws=2 et