build: remove binary DLL from the repository

Collect all the 'before-build' actions in single batch file.
Download the DLL required for AppVeyor during the build.
Remove the DLL from the repository.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
This commit is contained in:
Yuri Benditovich 2020-01-27 19:03:48 +02:00 committed by Yan Vugenfirer
parent 3d2e5a6272
commit 3b80562684
3 changed files with 6 additions and 1 deletions

View file

@ -3,7 +3,7 @@ image: Visual Studio 2015
version: build-{build}-{branch}
before_build:
- copy /y tools\AppVeyor\Microsoft.DriverKit.Build.Tasks.14.0.dll "C:\Program Files (x86)\Windows Kits\10\build\bin"
- tools\AppVeyor\before-build.cmd
build_script: buildAll.bat

View file

@ -0,0 +1,5 @@
@echo off
pushd "%~dp0"
curl -L -s https://drive.google.com/uc?id=17ZK6a1kxhTR-YOkWpAOqNJZA7UBUGkmu --output Microsoft.DriverKit.Build.Tasks.14.0.dll
copy /y Microsoft.DriverKit.Build.Tasks.14.0.dll "C:\Program Files (x86)\Windows Kits\10\build\bin"
popd