appveyor.yml: improve build process

This commit is contained in:
Bill Zissimopoulos 2016-05-21 14:49:25 -07:00
parent 55f9053b1b
commit c4b6e9bb47
3 changed files with 17 additions and 6 deletions

View File

@ -8,18 +8,18 @@ environment:
CONFIGURATION: Release
install:
- git submodule update --init
- appveyor AddMessage "Set testsigning on and reboot" -Category Information
- git submodule update --init --recursive
- appveyor AddMessage "Change boot configuration and reboot" -Category Information
- bcdedit /set testsigning on
- ps: Restart-Computer -Force
- ps: Start-Sleep -s 10
build_script:
- appveyor AddMessage "Reboot complete" -Category Information
- bcdedit | find /i "testsigning"
- bcdedit | findstr /i "testsigning"
- tools\build.bat %CONFIGURATION%
- cd ext\test && nmake /f Nmakefile
test_script:
- for %%f in ("build\VStudio\build\%CONFIGURATION%\winfsp-*.msi") do start /wait msiexec /i %%f /qn INSTALLLEVEL=1000
- tools\nmake-test.bat %CONFIGURATION%
- tools\run-tests.bat %CONFIGURATION%

View File

@ -8,10 +8,10 @@ set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt"
set Issuer="DigiCert"
set Subject="Navimatics Corporation"
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
if not X%1==X set Configuration=%1
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
cd %~dp0..\build\VStudio
if exist build\ del /s/q build >nul

11
tools/nmake-test.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
setlocal
set Configuration=Release
if not X%1==X set Configuration=%1
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
cd %~dp0..\ext\test
nmake /f Nmakefile