Skip to content

Commit

Permalink
CI: Add vcpkg workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
craftwar committed Nov 12, 2018
1 parent a26c7da commit 715dae5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#VS2017 15.8.9 (bump this to force clean vcpkg cache)
version: '{build}'
skip_tags: true
skip_commits:
Expand Down Expand Up @@ -51,6 +52,10 @@ install:
# -Zc:inline is disabled when -GL is on
- set cl_options=-MP -Oi -arch:%vc_inc_arch% -Gw -Gy -GL -GS- -favor:%favor_arch% -Zc:__cplusplus
#vcpkg
# update vcpkg when workaround is required
- cd C:\tools\vcpkg
- git pull && .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER%
- vcpkg remove --outdated --recurse
# /MP /Oi is default in vcpkg
- set VCPKG_LINKER_FLAGS=/LTCG
Expand Down

0 comments on commit 715dae5

Please sign in to comment.