Mercurial > vim
comparison ci/appveyor.bat @ 15723:bec05be6858a v8.1.0869
patch 8.1.0869: Travis CI script is too complicated
commit https://github.com/vim/vim/commit/01a6c21691631ee55744a1799a9725e5d6521cf4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 3 13:13:18 2019 +0100
patch 8.1.0869: Travis CI script is too complicated
Problem: Travis CI script is too complicated.
Solution: Add names to environments. Move appveyor script outside of src
directory. (Ozaki Kiichi, closes #3890)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Feb 2019 13:15:06 +0100 |
parents | src/appveyor.bat@2dcaa860e3fc |
children | 859ac3df0b1f |
comparison
equal
deleted
inserted
replaced
15722:d21ea191c11a | 15723:bec05be6858a |
---|---|
1 @echo off | |
2 :: Batch file for building/testing Vim on AppVeyor | |
3 | |
4 setlocal ENABLEDELAYEDEXPANSION | |
5 cd %APPVEYOR_BUILD_FOLDER% | |
6 | |
7 cd src | |
8 echo "Building MinGW 32bit console version" | |
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 | |
11 :: Save vim.exe before Make clean, moved back below. | |
12 copy vim.exe testdir | |
13 mingw32-make.exe -f Make_ming.mak clean | |
14 | |
15 :: Build Mingw huge version with python and channel support, or | |
16 :: with specified features without python. | |
17 echo "Building MinGW 32bit GUI version" | |
18 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 ) ELSE ( | |
21 mingw32-make.exe -f Make_ming.mak OPTIMIZE=speed GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 | |
22 ) | |
23 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_ming.txt | |
24 | |
25 echo "Building MSVC 64bit console Version" | |
26 sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak | |
27 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 | |
28 nmake -f Make_mvc2.mak clean | |
29 | |
30 :: build MSVC huge version with python and channel support | |
31 :: GUI needs to be last, so that testing works | |
32 echo "Building MSVC 64bit GUI Version" | |
33 if "%FEATURE%" == "HUGE" ( | |
34 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 | |
35 ) ELSE ( | |
36 nmake -f Make_mvc2.mak CPU=AMD64 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no FEATURES=%FEATURE% || exit 1 | |
37 ) | |
38 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt | |
39 | |
40 :: Restore vim.exe, tests will run with this. | |
41 move /Y testdir\vim.exe . | |
42 echo "version output MinGW" | |
43 type ver_ming.txt | |
44 echo "version output MVC" | |
45 type ver_msvc.txt | |
46 cd .. |