annotate ci/appveyor.bat @ 29602:093466b0c903

Added tag v9.0.0141 for changeset 8f0ca93857a68e4783ef07ff161fe8621f46fc04
author Bram Moolenaar <Bram@vim.org>
date Fri, 05 Aug 2022 12:00:09 +0200
parents 83bd6e25d0b6
children 52232e3ff22f
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
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 echo "Building MSVC 64bit console Version"
27388
83bd6e25d0b6 patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents: 24721
diff changeset
10 nmake -f Make_mvc.mak CPU=AMD64 ^
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
11 OLE=no GUI=no IME=yes ICONV=yes DEBUG=no ^
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
12 FEATURES=%FEATURE%
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
13 if not exist vim.exe (
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
14 echo Build failure.
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
15 exit 1
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
16 )
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 :: 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
19 :: 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
20 echo "Building MSVC 64bit GUI Version"
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 if "%FEATURE%" == "HUGE" (
27388
83bd6e25d0b6 patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents: 24721
diff changeset
22 nmake -f Make_mvc.mak CPU=AMD64 ^
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
23 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
24 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
25 PYTHON3_VER=35 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python35-x64 ^
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
26 FEATURES=%FEATURE%
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 ) ELSE (
27388
83bd6e25d0b6 patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Bram Moolenaar <Bram@vim.org>
parents: 24721
diff changeset
28 nmake -f Make_mvc.mak CPU=AMD64 ^
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
29 OLE=no GUI=yes IME=yes ICONV=yes DEBUG=no ^
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
30 FEATURES=%FEATURE%
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31 )
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
32 if not exist gvim.exe (
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
33 echo Build failure.
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
34 exit 1
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
35 )
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
36 .\gvim -u NONE -c "redir @a | ver |0put a | wq" ver_msvc.txt || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
37
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
38 echo "version output MSVC console"
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
39 .\vim --version || exit 1
21534
69a59cc69519 patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Bram Moolenaar <Bram@vim.org>
parents: 20931
diff changeset
40 echo "version output MSVC GUI"
24721
8a3659f78064 patch 8.2.2899: Appveyor script does not detect nmake failure
Bram Moolenaar <Bram@vim.org>
parents: 21534
diff changeset
41 type ver_msvc.txt || exit 1
8242
1313d2e282dc commit https://github.com/vim/vim/commit/81275ca9ce3059148fdb65dff29f7ecdbca446fb
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
42 cd ..