forked from frankmorgner/vsmartcard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (27 loc) · 1.02 KB
/
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
25
26
27
28
29
30
31
32
33
34
platform:
- x86
- x64
os: Visual Studio 2015
install:
- date /T & time /T
- ps: >-
If ($env:Platform -Match "x86") {
$env:MSBUILD_PLATFORM="x86"
$env:ARTIFACT="vpcd_win32"
$env:X64=""
} Else {
$env:MSBUILD_PLATFORM="x64"
$env:ARTIFACT="vpcd_win64"
$env:X64="x64\"
}
- git submodule update --init --recursive
# BUGFIX: wdf directory was renamed to 00wdf, rename it back (see github.com/appveyor/ci/issues/414)
- ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf'
build_script:
- md %ARTIFACT%
- msbuild virtualsmartcard\win32\BixVReader.sln /p:Configuration=Release;Platform=%MSBUILD_PLATFORM%
- move virtualsmartcard\win32\BixVReaderInstaller\bin\%X64%Release\BixVReaderInstaller.msi %ARTIFACT%
- msbuild virtualsmartcard\win32\vpcd-config\vpcd-config.sln /p:Configuration="Debug" /p:Platform=Win32
- move virtualsmartcard\win32\vpcd-config\Debug\vpcd-config.exe %ARTIFACT%
- 7z a %ARTIFACT%.zip %ARTIFACT%
- appveyor PushArtifact %ARTIFACT%.zip