comparison ci/appveyor.bat @ 20931:2351948e193d v8.2.1017

patch 8.2.1017: Appveyor output doesn't show MinGW console features Commit: https://github.com/vim/vim/commit/1089374130862e5c19745d3ff4314f0c5690baf1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 19 22:37:47 2020 +0200 patch 8.2.1017: Appveyor output doesn't show MinGW console features Problem: Appveyor output doesn't show MinGW console features. Solution: List the features of the console build.
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jun 2020 22:45:05 +0200
parents 8292b2dde464
children 69a59cc69519
comparison
equal deleted inserted replaced
20930:e73f466f6884 20931:2351948e193d
6 6
7 cd src 7 cd src
8 echo "Building MinGW 32bit console version" 8 echo "Building MinGW 32bit console version"
9 set PATH=c:\msys64\mingw32\bin;%PATH% 9 set PATH=c:\msys64\mingw32\bin;%PATH%
10 mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 10 mingw32-make.exe -f Make_ming.mak GUI=no OPTIMIZE=speed IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
11 .\vim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt
11 :: Save vim.exe before Make clean, moved back below. 12 :: Save vim.exe before Make clean, moved back below.
12 copy vim.exe testdir 13 copy vim.exe testdir
13 mingw32-make.exe -f Make_ming.mak clean 14 mingw32-make.exe -f Make_ming.mak clean
14 15
15 :: Build Mingw huge version with python and channel support, or 16 :: Build Mingw huge version with python and channel support, or
18 if "%FEATURE%" == "HUGE" ( 19 if "%FEATURE%" == "HUGE" (
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 20 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
20 ) ELSE ( 21 ) ELSE (
21 mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 22 mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
22 ) 23 )
23 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt 24 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming_gui.txt
24 25
25 :: Filter out the progress bar from the build log 26 :: Filter out the progress bar from the build log
26 sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak 27 sed -e "s/@<<$/@<< | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
27 28
28 echo "Building MSVC 64bit console Version" 29 echo "Building MSVC 64bit console Version"
29 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 30 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1
31 :: The executable is not used
30 nmake -f Make_mvc2.mak clean 32 nmake -f Make_mvc2.mak clean
31 33
32 :: build MSVC huge version with python and channel support 34 :: build MSVC huge version with python and channel support
33 :: GUI needs to be last, so that testing works 35 :: GUI needs to be last, so that testing works
34 echo "Building MSVC 64bit GUI Version" 36 echo "Building MSVC 64bit GUI Version"
41 43
42 :: Restore vim.exe, tests will run with this. 44 :: Restore vim.exe, tests will run with this.
43 move /Y testdir\vim.exe . 45 move /Y testdir\vim.exe .
44 echo "version output MinGW" 46 echo "version output MinGW"
45 type ver_ming.txt 47 type ver_ming.txt
48 echo "version output MinGW GUI"
49 type ver_ming_gui.txt
46 echo "version output MVC" 50 echo "version output MVC"
47 type ver_msvc.txt 51 type ver_msvc.txt
48 cd .. 52 cd ..