diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 13:57:24 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 14:41:50 +0300 |
commit | f71709f56c096b17632ab56fda17d884d884c779 (patch) | |
tree | dc27a618c0b6653e6af86d28f0332fa5bbc2f1f6 /.appveyor/build.ps1 | |
parent | update cmake-common (diff) | |
download | windows7-drivers-f71709f56c096b17632ab56fda17d884d884c779.tar.gz windows7-drivers-f71709f56c096b17632ab56fda17d884d884c779.zip |
AppVeyor: install kernel modules as well
Diffstat (limited to '')
-rw-r--r-- | .appveyor/build.ps1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.appveyor/build.ps1 b/.appveyor/build.ps1 index 40233af..432bca3 100644 --- a/.appveyor/build.ps1 +++ b/.appveyor/build.ps1 @@ -1,4 +1,6 @@ param( + [Parameter(Mandatory=$true)] + [string] $InstallDir = $null, [string] $ProjectDir = $null, [string] $Platform = $null, [string] $Configuration = $null, @@ -78,6 +80,8 @@ function Build-Driver { [Parameter(Mandatory=$true)] [string] $ProjectDir, [Parameter(Mandatory=$true)] + [string] $InstallDir, + [Parameter(Mandatory=$true)] [string] $DriverSpec, [Parameter(Mandatory=$true)] [string] $Platform, @@ -91,7 +95,7 @@ function Build-Driver { $solution_path = Get-DriverSolutionPath -ProjectDir $ProjectDir -DriverSpec $DriverSpec $Configuration = Get-DriverConfiguration -Configuration $Configuration -DriverTargetOS $DriverTargetOS - $msbuild_params = "/p:Platform=$Platform;Configuration=$Configuration;SignMode=TestSign" + $msbuild_params = "/p:Platform=$Platform;Configuration=$Configuration;SignMode=TestSign;OutDir=$InstallDir\lib" cd $build_dir Invoke-Exe { msbuild.exe $msbuild_params $solution_path } @@ -102,6 +106,8 @@ function Build-ProjectKernelMode { [Parameter(Mandatory=$true)] [string] $ProjectDir, [Parameter(Mandatory=$true)] + [string] $InstallDir, + [Parameter(Mandatory=$true)] [string] $Platform, [Parameter(Mandatory=$true)] [string] $Configuration, @@ -114,6 +120,7 @@ function Build-ProjectKernelMode { foreach ($driver in $drivers) { Build-Driver ` -ProjectDir $ProjectDir ` + -InstallDir $InstallDir ` -DriverSpec $driver ` -Platform $Platform ` -Configuration $Configuration ` @@ -130,6 +137,7 @@ function Build-ProjectAppVeyor { try { Build-ProjectKernelMode ` -ProjectDir $script:ProjectDir ` + -InstallDir $script:InstallDir ` -Platform $script:Platform ` -Configuration $script:Configuration ` -DriverTargetOS $script:DriverTargetOS |