forked from cloudbase/wnbd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
24 lines (22 loc) · 1009 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 1.0.{build}
image: Visual Studio 2019
branches:
only:
- main
configuration:
# We're currently skipping the "Analyze" Appveyor job. It's a resource
# intensive operation that often times out.
# - Analyze
- Debug
- Release
clone_folder: C:\wnbd
init:
- ps: $env:PATH ="C:\Python37;"+$env:PATH
- ps: New-Item -Type HardLink -Path "C:\Python37\python3.exe" -Value "C:\Python37\python.exe"
build_script:
- '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"'
- msbuild C:\wnbd\vstudio\wnbd.sln /property:Configuration=%CONFIGURATION%
- 7z a wnbd-%CONFIGURATION%.zip C:\wnbd\vstudio\x64\%CONFIGURATION%\driver\wnbd.cat C:\wnbd\vstudio\x64\%CONFIGURATION%\driver\wnbd.inf C:\wnbd\vstudio\x64\%CONFIGURATION%\driver\wnbd.sys C:\wnbd\vstudio\x64\%CONFIGURATION%\wnbd-client.exe C:\wnbd\vstudio\x64\%CONFIGURATION%\libwnbd.dll C:\wnbd\vstudio\reinstall.ps1 C:\wnbd\vstudio\wnbdevents.xml
artifacts:
- path: wnbd-%CONFIGURATION%.zip
name: wnbd