annotate ci/appveyor.bat @ 19428:1f9e7e703f24

Added tag v8.2.0271 for changeset fdfe44ac6a1aca3900af8cb786b9d528a816ce0a
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Feb 2020 22:15:07 +0100
parents 8292b2dde464
children 2351948e193d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 @echo off
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 :: Batch file for building/testing Vim on AppVeyor
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 setlocal ENABLEDELAYEDEXPANSION
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 cd %APPVEYOR_BUILD_FOLDER%
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 cd src
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 echo "Building MinGW 32bit console version"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 set PATH=c:\msys64\mingw32\bin;%PATH%
15607
2dcaa860e3fc patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 10080
diff changeset
10 mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 :: Save vim.exe before Make clean, moved back below.
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 copy vim.exe testdir
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 mingw32-make.exe -f Make_ming.mak clean
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 :: Build Mingw huge version with python and channel support, or
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 :: with specified features without python.
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 echo "Building MinGW 32bit GUI version"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 if "%FEATURE%" == "HUGE" (
15607
2dcaa860e3fc patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 10080
diff changeset
19 mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed CHANNEL=yes GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35 FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 ) ELSE (
15607
2dcaa860e3fc patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 10080
diff changeset
21 mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 )
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
24
17405
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
25 :: Filter out the progress bar from the build log
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
26 sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
27
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
28 echo "Building MSVC 64bit console Version"
17405
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
29 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
30 nmake -f Make_mvc2.mak clean
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
32 :: build MSVC huge version with python and channel support
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
33 :: GUI needs to be last, so that testing works
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
34 echo "Building MSVC 64bit GUI Version"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
35 if "%FEATURE%" == "HUGE" (
17405
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
36 nmake -f Make_mvc2.mak DIRECTX=yes CPU=AMD64 CHANNEL=yes OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
37 ) ELSE (
17405
8292b2dde464 patch 8.1.1701: Appveyor build with MSVC fails puts progress bar in log
Bram Moolenaar <Bram@vim.org>
parents: 17399
diff changeset
38 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
39 )
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
40 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
41
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
42 :: Restore vim.exe, tests will run with this.
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
43 move /Y testdir\vim.exe .
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
44 echo "version output MinGW"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
45 type ver_ming.txt
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
46 echo "version output MVC"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
47 type ver_msvc.txt
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
48 cd ..