Sync ExplorerCommand.cpp with TortoiseSVN rev. 29475
[TortoiseGit.git] / appveyor.yml
blobdb0c3903290c52f9d7df09c8cd6359d5f6f94f24
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 2019\r
17   - Visual Studio 2022\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 2019\r
27       configuration: Debug\r
28     - image: Visual Studio 2019\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 2019\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/lexilla 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 2022\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     - c:\cygwin\bin\git config --global --add safe.directory '*'\r
71     - bin\Debug\bin\tests.exe\r
72     - reg delete HKCU\Software\TortoiseGit /v CygwinHack /f\r
73     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
74     - reg add HKCU\Software\TortoiseGit /v Msys2Hack /t REG_DWORD /f /d 1\r
75     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\msys64\usr\bin"\r
76     - c:\msys64\usr\bin\git version\r
77     - set PATH="c:\msys64\usr\bin";%PATH%\r
78     - bin\Debug\bin\tests.exe\r
79     - reg delete HKCU\Software\TortoiseGit /v Msys2Hack /f\r
80     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
81   -\r
82     matrix:\r
83       only:\r
84         - platform: x64\r
85           configuration: Debug\r
86           image: Visual Studio 2022\r
87     test_script:\r
88     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
89     - bin\Debug64\bin\tests.exe\r
90     - reg add HKCU\Software\TortoiseGit /v CygwinHack /t REG_DWORD /f /d 1\r
91     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\cygwin\bin"\r
92     - set HOME=%USERPROFILE%\r
93     - c:\cygwin\bin\git version\r
94     - c:\cygwin\bin\git config --global --add safe.directory '*'\r
95     - bin\Debug64\bin\tests.exe\r
96     - reg delete HKCU\Software\TortoiseGit /v CygwinHack /f\r
97     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
98     - reg add HKCU\Software\TortoiseGit /v Msys2Hack /t REG_DWORD /f /d 1\r
99     - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\msys64\usr\bin"\r
100     - c:\msys64\usr\bin\git version\r
101     - set PATH="c:\msys64\usr\bin";%PATH%\r
102     - bin\Debug64\bin\tests.exe\r
103     - reg delete HKCU\Software\TortoiseGit /v Msys2Hack /f\r
104     - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
105   -\r
106     matrix:\r
107       only:\r
108         - platform: Win32\r
109           configuration: Release\r
110           image: Visual Studio 2022\r
111     test_script:\r
112     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
113     - bin\Release\bin\tests.exe\r
114     - 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
115     - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/lexilla ext/OGDF ext/hunspell\r
116     - 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
117   -\r
118     matrix:\r
119       only:\r
120         - platform: x64\r
121           configuration: Release\r
122           image: Visual Studio 2022\r
123     test_script:\r
124     - set PATH="C:\Program Files\Git\mingw64\bin";%PATH%\r
125     - bin\Release64\bin\tests.exe\r
126     - msbuild "src\TortoiseGit.sln" /t:"GitWCRev" /t:"GitWCRevCom" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\CustomActions11" /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
127     - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/lexilla ext/OGDF ext/hunspell\r
128     - 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
129     # check for missing pot entries\r
130     - 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
131     - git status\r
132     - git diff-index --quiet HEAD -- Languages/Tortoise.pot\r