If find dialog is already open, focus it on re-requesting it (e.g., on STRG-F)
[TortoiseGit.git] / appveyor.yml
blob02ed7fef918a3c2c038e9fed9602b6a074df73e0
1 version: '{branch}.{build}'\r
2 skip_tags: true\r
3 skip_commits:\r
4   files:\r
5     - contrib/\r
6     - doc/\r
7     - '*.txt'\r
8     - '*.md'\r
9     - src/*.txt\r
10     - .gitlab-ci.yml\r
11     - .tgitconfig\r
12     - .mailmap\r
13     - '**/.editorconfig'\r
14     - '**/.clang.format'\r
15 image:\r
16   - Visual Studio 2017\r
17   - Visual Studio 2019\r
18 platform:\r
19   - Win32\r
20   - x64\r
21 configuration:\r
22   - Debug\r
23   - Release\r
24 matrix:\r
25   exclude:\r
26     - image: Visual Studio 2017\r
27       configuration: Debug\r
28     - image: Visual Studio 2017\r
29       platform: Win32\r
30       configuration: Release\r
31 init:\r
32 - git version\r
33 build_script:\r
34 - git submodule update --init -- ext/googletest ext/libgit2 ext/simpleini ext/tgit ext/zlib ext/pcre2 ext/json\r
35 - cd ext\libgit2\r
36 - git config --global user.email "dummy@example.com"\r
37 - git config --global user.name "Dummy Name"\r
38 - for %%G in (..\libgit2-*.patch) do ( type %%G | git am )\r
39 - git config --unset --global user.email\r
40 - git config --unset --global user.name\r
41 - cd ..\..\r
42 - msbuild "src\TortoiseGit.sln" /t:"test\UnitTests" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
44 for:\r
45   -\r
46     matrix:\r
47       only:\r
48         - platform: x64\r
49           configuration: Release\r
50           image: Visual Studio 2017\r
51     test_script:\r
52     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
53     - bin\Release64\bin\tests.exe\r
54     - msbuild "src\TortoiseGit.sln" /t:"GitWCRev" /t:"GitWCRevCom" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\RestartExplorer" /t:"ext\Crash-Server\CrashServerSDK\CrashHandler" /t:"ext\Crash-Server\CrashServerSDK\SendRpt" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
55     - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/OGDF ext/hunspell\r
56     - msbuild "src\TortoiseGit.sln" /t:"TGitCache" /t:"TortoiseGitBlame" /t:"TortoiseGitIDiff" /t:"TortoiseGitMerge" /t:"TortoiseGitPlink" /t:"TortoiseGitProc" /t:"TortoiseGitStub" /t:"TortoiseGitUDiff" /t:"TortoiseShell" /t:"SshAskPass" /t:"tgittouch" /t:"GitWCRev" /t:"GitWCRevCom" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
57   -\r
58     matrix:\r
59       only:\r
60         - platform: Win32\r
61           configuration: Debug\r
62           image: Visual Studio 2019\r
63     test_script:\r
64     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
65     - bin\Debug\bin\tests.exe\r
66     - reg add HKCU\Software\TortoiseGit /v CygwinHack /t REG_DWORD /f /d 1\r
67     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\cygwin\bin"\r
68     - set HOME=%USERPROFILE%\r
69     - c:\cygwin\bin\git version\r
70     - bin\Debug\bin\tests.exe\r
71     - reg delete HKCU\Software\TortoiseGit /v CygwinHack /f\r
72     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
73     - reg add HKCU\Software\TortoiseGit /v Msys2Hack /t REG_DWORD /f /d 1\r
74     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\msys64\usr\bin"\r
75     - c:\msys64\usr\bin\git version\r
76     - set PATH="c:\msys64\usr\bin";%PATH%\r
77     - bin\Debug\bin\tests.exe\r
78     - reg delete HKCU\Software\TortoiseGit /v Msys2Hack /f\r
79     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
80   -\r
81     matrix:\r
82       only:\r
83         - platform: x64\r
84           configuration: Debug\r
85           image: Visual Studio 2019\r
86     test_script:\r
87     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
88     - bin\Debug64\bin\tests.exe\r
89     - reg add HKCU\Software\TortoiseGit /v CygwinHack /t REG_DWORD /f /d 1\r
90     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\cygwin\bin"\r
91     - set HOME=%USERPROFILE%\r
92     - c:\cygwin\bin\git version\r
93     - bin\Debug64\bin\tests.exe\r
94     - reg delete HKCU\Software\TortoiseGit /v CygwinHack /f\r
95     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
96     - reg add HKCU\Software\TortoiseGit /v Msys2Hack /t REG_DWORD /f /d 1\r
97     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\msys64\usr\bin"\r
98     - c:\msys64\usr\bin\git version\r
99     - set PATH="c:\msys64\usr\bin";%PATH%\r
100     - bin\Debug64\bin\tests.exe\r
101     - reg delete HKCU\Software\TortoiseGit /v Msys2Hack /f\r
102     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
103   -\r
104     matrix:\r
105       only:\r
106         - platform: Win32\r
107           configuration: Release\r
108           image: Visual Studio 2019\r
109     test_script:\r
110     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
111     - bin\Release\bin\tests.exe\r
112     - msbuild "src\TortoiseGit.sln" /t:"GitWCRev" /t:"GitWCRevCom" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\RestartExplorer" /t:"ext\Crash-Server\CrashServerSDK\CrashHandler" /t:"ext\Crash-Server\CrashServerSDK\SendRpt" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
113     - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/OGDF ext/hunspell\r
114     - msbuild "src\TortoiseGit.sln" /t:"TGitCache" /t:"TortoiseGitBlame" /t:"TortoiseGitIDiff" /t:"TortoiseGitMerge" /t:"TortoiseGitPlink" /t:"TortoiseGitProc" /t:"TortoiseGitStub" /t:"TortoiseGitUDiff" /t:"TortoiseShell" /t:"SshAskPass" /t:"tgittouch" /t:"GitWCRev" /t:"GitWCRevCom" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
115   -\r
116     matrix:\r
117       only:\r
118         - platform: x64\r
119           configuration: Release\r
120           image: Visual Studio 2019\r
121     test_script:\r
122     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
123     - bin\Release64\bin\tests.exe\r
124     - msbuild "src\TortoiseGit.sln" /t:"GitWCRev" /t:"GitWCRevCom" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\RestartExplorer" /t:"ext\Crash-Server\CrashServerSDK\CrashHandler" /t:"ext\Crash-Server\CrashServerSDK\SendRpt" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
125     - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/OGDF ext/hunspell\r
126     - msbuild "src\TortoiseGit.sln" /t:"TGitCache" /t:"TortoiseGitBlame" /t:"TortoiseGitIDiff" /t:"TortoiseGitMerge" /t:"TortoiseGitPlink" /t:"TortoiseGitProc" /t:"TortoiseGitStub" /t:"TortoiseGitUDiff" /t:"TortoiseShell" /t:"SshAskPass" /t:"tgittouch" /t:"GitWCRev" /t:"GitWCRevCom" /m /verbosity:minimal /p:Configuration=%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
127     # check for missing pot entries\r
128     - msbuild "src\TortoiseGit.sln" /m /verbosity:minimal /p:Configuration=TortoisePot-%CONFIGURATION% /p:Platform=%PLATFORM% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
129     - git status\r
130     - git diff-index --quiet HEAD -- Languages/Tortoise.pot\r