Merge #15506: appveyor: fix cache issue and reduce dependencies build time
aeb7fbfd69
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
This commit is contained in:
commit
dc251de6a5
1 changed files with 3 additions and 3 deletions
|
@ -11,15 +11,15 @@ environment:
|
||||||
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
|
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
|
||||||
PYTHONUTF8: 1
|
PYTHONUTF8: 1
|
||||||
cache:
|
cache:
|
||||||
- C:\tools\vcpkg\installed -> appveyor.yml
|
- C:\tools\vcpkg\installed -> .appveyor.yml
|
||||||
- C:\Users\appveyor\clcache -> appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
|
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in
|
||||||
install:
|
install:
|
||||||
- cmd: pip install --quiet git+https://github.com/frerich/clcache.git@v4.2.0
|
- cmd: pip install --quiet git+https://github.com/frerich/clcache.git@v4.2.0
|
||||||
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
|
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
|
||||||
# - cmd: pip install zmq
|
# - cmd: pip install zmq
|
||||||
|
- cmd: echo set(VCPKG_BUILD_TYPE release) >> C:\tools\vcpkg\triplets\%PLATFORM%-windows-static.cmake
|
||||||
- cmd: vcpkg remove --outdated --recurse
|
- cmd: vcpkg remove --outdated --recurse
|
||||||
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
|
- cmd: vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
|
||||||
- cmd: del /s /q C:\Tools\vcpkg\installed\%PLATFORM%-windows-static\debug # Remove unused debug library
|
|
||||||
before_build:
|
before_build:
|
||||||
- ps: clcache -M 536870912
|
- ps: clcache -M 536870912
|
||||||
- cmd: python build_msvc\msvc-autogen.py
|
- cmd: python build_msvc\msvc-autogen.py
|
||||||
|
|
Loading…
Reference in a new issue