Skip to content

Commit fe7dc39

Browse files
committed
Do not build tests...
- need python to be installed.
1 parent dbb60de commit fe7dc39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.libgit2.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ try {
113113

114114
if ($x86.IsPresent) {
115115
Write-Output "Building x86..."
116-
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A Win32 -D ENABLE_TRACE=ON -D USE_SSH=OFF -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" .. }
116+
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A Win32 -D BUILD_TESTS=OFF -D ENABLE_TRACE=ON -D USE_SSH=OFF -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" .. }
117117
Run-Command -Fatal { & $cmake --build . --config $configuration }
118118
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
119119
cd $configuration
@@ -129,7 +129,7 @@ try {
129129
Write-Output "Building x64..."
130130
Run-Command -Quiet { & mkdir build64 }
131131
cd build64
132-
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A x64 -D THREADSAFE=ON -D USE_SSH=OFF -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
132+
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A x64 -D BUILD_TESTS=OFF -D THREADSAFE=ON -D USE_SSH=OFF -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
133133
Run-Command -Fatal { & $cmake --build . --config $configuration }
134134
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
135135
cd $configuration
@@ -144,7 +144,7 @@ try {
144144
Write-Output "Building arm64..."
145145
Run-Command -Quiet { & mkdir buildarm64 }
146146
cd buildarm64
147-
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A ARM64 -D THREADSAFE=ON -D USE_SSH=OFF -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
147+
Run-Command -Fatal { & $cmake -G "Visual Studio 16 2019" -A ARM64 -D BUILD_TESTS=OFF -D THREADSAFE=ON -D USE_SSH=OFF -D ENABLE_TRACE=ON -D "BUILD_CLAR=$build_clar" -D "LIBGIT2_FILENAME=$binaryFilename" ../.. }
148148
Run-Command -Fatal { & $cmake --build . --config $configuration }
149149
if ($test.IsPresent) { Run-Command -Quiet -Fatal { & $ctest -V . } }
150150
cd $configuration

0 commit comments

Comments
 (0)