summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Benditovich <yuri.benditovich@daynix.com>2020-01-27 19:03:48 +0200
committerYan Vugenfirer <yan@daynix.com>2020-01-27 20:00:38 +0200
commit3b80562684ca8a39291fbe3863544a37e0a0bcda (patch)
tree5739c2eafb00c650b9841b7415cb7697a49ec0d7
parent3d2e5a6272caa0f429078fdb6411b31450ed768f (diff)
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>
-rw-r--r--.appveyor.yml2
-rw-r--r--Tools/AppVeyor/Microsoft.DriverKit.Build.Tasks.14.0.dllbin280064 -> 0 bytes
-rw-r--r--Tools/AppVeyor/before-build.cmd5
3 files changed, 6 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 0f5e8d9..2a8aefc 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -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
diff --git a/Tools/AppVeyor/Microsoft.DriverKit.Build.Tasks.14.0.dll b/Tools/AppVeyor/Microsoft.DriverKit.Build.Tasks.14.0.dll
deleted file mode 100644
index da6d81c..0000000
--- a/Tools/AppVeyor/Microsoft.DriverKit.Build.Tasks.14.0.dll
+++ /dev/null
Binary files differ
diff --git a/Tools/AppVeyor/before-build.cmd b/Tools/AppVeyor/before-build.cmd
new file mode 100644
index 0000000..c3258d1
--- /dev/null
+++ b/Tools/AppVeyor/before-build.cmd
@@ -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