Skip to content

Commit

Permalink
[build] Updates vcpkg packages on appveyor to have miniupnpc.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Dec 20, 2018
1 parent 4ea7900 commit 90573dc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ configuration:

init:
- '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%'


install:
- cinst cmake
Expand All @@ -34,6 +33,13 @@ before_build:
- vcpkg install boost-asio boost-thread boost-system boost-program-options boost-filesystem boost-iostreams boost-random boost-foreach --triplet %PLATFORM%-windows-static
- vcpkg install curl --triplet %PLATFORM%-windows-static
- vcpkg install openssl --triplet %PLATFORM%-windows-static
# Updates vcpkg packages to have miniupnpc.
# As appveyor previously cache builds for all ports (boost, openssl...), we
# do that now to avoid to rebuild everything.
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER%
- vcpkg install miniupnpc --triplet %PLATFORM%-windows-static

build_script:
Expand All @@ -45,7 +51,7 @@ after_build:
$gitHash = $env:APPVEYOR_REPO_COMMIT.Substring(0, 8);
$zipFile = "freelan-binary-$env:platform-$gitHash.zip";
Push-AppveyorArtifact "BuildArtifacts.zip" -FileName $zipFile;
If ($env:Configuration -Match "Release") {
scons -C packaging\windows --arch=%INSTALLER_BITS%
Expand Down

0 comments on commit 90573dc

Please sign in to comment.