Skip to content

Commit

Permalink
Infrastructure: replace MSVC 2017 with MSVC 2019
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
  • Loading branch information
lebdron committed Nov 11, 2019
1 parent 2f14209 commit 1ce3aa8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .jenkinsci/builders/x64-win-build-steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def buildSteps(int parallelism, List compilerVersions, String buildType, boolean
for (compiler in compilerVersions) {
stage ("build ${compiler}"){
bat '''
cmake -H.\\ -B.\\build -DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake -G "Visual Studio 15 2017 Win64" -T host=x64 &&^
cmake -H.\\ -B.\\build -DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake -G "Visual Studio 16 2019" -A x64 -T host=x64 &&^
cmake --build .\\build --target irohad &&^
cmake --build .\\build --target iroha-cli
'''
Expand Down
2 changes: 1 addition & 1 deletion .packer/win/files/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<package id="curl" />
<package id="jre8" />
<package id="cmake" version="3.14.4" installArguments="ADD_CMAKE_TO_PATH=System"/>
<package id="visualstudio2017-workload-vctools" packageParameters="--wait" />
<package id="visualstudio2019-workload-vctools" packageParameters="--wait" />
</packages>
1 change: 0 additions & 1 deletion docs/source/build/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ Install CMake, Git, Microsoft compilers via chocolatey being in Administrative m
.. code-block:: shell
choco install cmake git visualstudio2019-workload-vctools ninja
# visualstudio2017-workload-vctools should work as well
PostgreSQL is not a build dependency, but it is recommended to install it now for the testing later:
Expand Down

0 comments on commit 1ce3aa8

Please sign in to comment.