Skip to content

Commit acf7000

Browse files
committed
fixup! Add a build definition for Azure DevOps
It might be that mkpasswd cannot help speed up the tests on Windows, but then, it won't hurt. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ecc47f8 commit acf7000

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ phases:
208208
$sdk_path = "$(Build.SourcesDirectory)\git-sdk-64"
209209
init "$sdk_path" "https://dev.azure.com/git-for-windows/git-sdk-64/_git/git-sdk-64" 0
210210
init usr\src\build-extra https://github.com/git-for-windows/build-extra 1
211-
displayName: 'initialize the Git for Windows SDK'
211+
212+
# Help MSYS2 runtime startup by initializing /etc/passwd
213+
& "$sdk_path\git-cmd" --command=usr\\bin\\bash.exe -lc "mkpasswd -c >>/etc/passwd"; c
214+
displayName: 'Initialize the Git for Windows SDK'
212215
- powershell: |
213216
# Helper to check the error level of the latest command (exit with error when appropriate)
214217
function c() { if (!$?) { exit(1) } }

0 commit comments

Comments
 (0)