build: test built binary (#4839)

This commit is contained in:
Ruslan Kuprieiev
2020-11-03 23:30:41 +02:00
committed by GitHub
parent 4a3f06df3a
commit 7da3de451f
+3
View File
@@ -29,6 +29,9 @@ call dvc pull || goto :error
echo ====== Building dvc binary... ======
call pyinstaller --additional-hooks-dir scripts\hooks dvc/__main__.py --name dvc --specpath build
echo ====== Testing dvc binary... ======
call dist\dvc\dvc.exe version || goto :error
echo ====== Copying additional files... ======
copy scripts\innosetup\addSymLinkPermissions.ps1 dist\ || goto :error