mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-07 20:42:09 -05:00
appveyor.yml: improve build process
This commit is contained in:
parent
55f9053b1b
commit
c4b6e9bb47
@ -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%
|
||||
|
@ -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
11
tools/nmake-test.bat
Normal 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
|
Loading…
x
Reference in New Issue
Block a user