Skip to content

Commit f3c1646

Browse files
committed
added library and pdb output as well
1 parent 13bd3a4 commit f3c1646

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ install:
4141
- powershell -exec bypass scripts\bootstrap.ps1
4242
- .\vcpkg integrate install
4343
- .\vcpkg install zlib:%PLATFORM%-windows%POSTVCPKGNAME% openssl:%PLATFORM%-windows%POSTVCPKGNAME%
44-
- if %POSTFIXNAME%==MD set VCPKGLIBS=vcpkg export zlib:%PLATFORM%-windows%POSTVCPKGNAME% openssl:%PLATFORM%-windows%POSTVCPKGNAME% --raw && move vcpkg-export-* vcpkg-export && 7z a vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%_libs.zip -i!vcpkg-export\installed\%PLATFORM%-windows%POSTVCPKGNAME%\* && appveyor PushArtifact vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%_libs.zip
45-
- cmd: %VCPKGLIBS%
44+
- ps: if($env:POSTFIXNAME -eq 'MD') {
45+
.\vcpkg.exe export zlib:$($env:PLATFORM)-windows$($env:POSTVCPKGNAME) openssl:$($env:PLATFORM)-windows$($env:POSTVCPKGNAME) --raw;
46+
move vcpkg-export-* vcpkg-export;
47+
7z a vc140_$($env:configuration)_$($env:PLATFORM)_$($env:POSTFIXNAME)_libs.zip -i!vcpkg-export\installed\$($env:PLATFORM)-windows$($env:POSTVCPKGNAME)\*;
48+
Push-AppveyorArtifact vc140_$($env:configuration)_$($env:PLATFORM)_$($env:POSTFIXNAME)_libs.zip;
49+
}
4650
- cd ..
4751

4852
build_script:

0 commit comments

Comments
 (0)