annotate ci/appveyor.bat @ 21572:e9954158a9cf v8.2.1336

patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 13:22:10 2020 +0200 patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 13:30:05 +0200
parents 69a59cc69519
children 8a3659f78064
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
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
8 :: 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
9 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
10
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 echo "Building MSVC 64bit console Version"
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
12 nmake -f Make_mvc2.mak CPU=AMD64 ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
13 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
14 FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 :: 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
17 :: 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
18 echo "Building MSVC 64bit GUI Version"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 if "%FEATURE%" == "HUGE" (
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
20 nmake -f Make_mvc2.mak CPU=AMD64 ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
21 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no POSTSCRIPT=yes ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
22 PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
23 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
24 FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 ) ELSE (
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
26 nmake -f Make_mvc2.mak CPU=AMD64 ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
27 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no ^
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
28 FEATURES=%FEATURE% || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
29 )
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
30 .\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
31
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
32 echo "version output MSVC console"
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
33 .\vim --version
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
34 echo "version output MSVC GUI"
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
35 type ver_msvc.txt
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
36 cd ..