Skip to content

Commit dc251de

Browse files
author
MarcoFalke
committed
Merge #15506: appveyor: fix cache issue and reduce dependencies build time
aeb7fbf appveyor: Don't build debug libraries instead of "build and delete" (Chun Kuan Lee) Pull request description: - fix the filename typo on `appveyor.yml`. Maybe it's the reason that appveyor cache does not work properly. - Build release dependency libraries only. We build both release and debug on master. This could save ~5 mins. Tree-SHA512: 68cdaeab98a658ebcb6159ee3f2d53376496d63b21c91291a95ad2495181de9bb12bd0fbf31672dbe72222b6368ce088b6a06592db365fc247c86bc5ba79905b
2 parents a6d7026 + aeb7fbf commit dc251de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ environment:
1111
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
1212
PYTHONUTF8: 1
1313
cache:
14-
- C:\tools\vcpkg\installed -> appveyor.yml
15-
- C:\Users\appveyor\clcache -> appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
14+
- C:\tools\vcpkg\installed -> .appveyor.yml
15+
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
1616
install:
1717
- cmd: pip install --quiet git+https://github.com/frerich/[email protected]
1818
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
1919
# - cmd: pip install zmq
20+
- cmd: echo set(VCPKG_BUILD_TYPE release) >> C:\tools\vcpkg\triplets\%PLATFORM%-windows-static.cmake
2021
- cmd: vcpkg remove --outdated --recurse
2122
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
22-
- cmd: del /s /q C:\Tools\vcpkg\installed\%PLATFORM%-windows-static\debug # Remove unused debug library
2323
before_build:
2424
- ps: clcache -M 536870912
2525
- cmd: python build_msvc\msvc-autogen.py

0 commit comments

Comments
 (0)