mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
appveyor.yml: improve build process
This commit is contained in:
parent
55f9053b1b
commit
c4b6e9bb47
@ -8,18 +8,18 @@ environment:
|
|||||||
CONFIGURATION: Release
|
CONFIGURATION: Release
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git submodule update --init
|
- git submodule update --init --recursive
|
||||||
- appveyor AddMessage "Set testsigning on and reboot" -Category Information
|
- appveyor AddMessage "Change boot configuration and reboot" -Category Information
|
||||||
- bcdedit /set testsigning on
|
- bcdedit /set testsigning on
|
||||||
- ps: Restart-Computer -Force
|
- ps: Restart-Computer -Force
|
||||||
- ps: Start-Sleep -s 10
|
- ps: Start-Sleep -s 10
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- appveyor AddMessage "Reboot complete" -Category Information
|
- appveyor AddMessage "Reboot complete" -Category Information
|
||||||
- bcdedit | find /i "testsigning"
|
- bcdedit | findstr /i "testsigning"
|
||||||
- tools\build.bat %CONFIGURATION%
|
- tools\build.bat %CONFIGURATION%
|
||||||
- cd ext\test && nmake /f Nmakefile
|
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- for %%f in ("build\VStudio\build\%CONFIGURATION%\winfsp-*.msi") do start /wait msiexec /i %%f /qn INSTALLLEVEL=1000
|
- 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%
|
- tools\run-tests.bat %CONFIGURATION%
|
||||||
|
@ -8,10 +8,10 @@ set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt"
|
|||||||
set Issuer="DigiCert"
|
set Issuer="DigiCert"
|
||||||
set Subject="Navimatics Corporation"
|
set Subject="Navimatics Corporation"
|
||||||
|
|
||||||
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
|
|
||||||
|
|
||||||
if not X%1==X set Configuration=%1
|
if not X%1==X set Configuration=%1
|
||||||
|
|
||||||
|
call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
|
||||||
|
|
||||||
cd %~dp0..\build\VStudio
|
cd %~dp0..\build\VStudio
|
||||||
if exist build\ del /s/q build >nul
|
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