Permalink
Browse files

Switched the Windows CI to Visual Studio 2017.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Aug 20, 2017
1 parent 20fcb19 commit 4d177b317dbefe7642f66d004b62722e182d7cf7
@@ -21,7 +21,7 @@ branches:
matrix:
fast_finish: true
os: Visual Studio 2015
os: Visual Studio 2017
platform:
- x86
@@ -30,7 +30,7 @@ configuration:
- Release
environment:
VS_VERSION: vs2015
VS_VERSION: vs2017
BUILD_PLATFORM: 'x86'
DEPS_PATH: '%APPVEYOR_BUILD_FOLDER%\deps'
LLVM_PATH: '%APPVEYOR_BUILD_FOLDER%\deps\llvm'
@@ -44,7 +44,7 @@ init:
- git config --global core.autocrlf true
install:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- build\premake5.exe --file=build\scripts\LLVM.lua download_llvm
build_script:
@@ -49,7 +49,7 @@ function clone_llvm()
end
function get_vs_version()
local function map_msvc_to_vs_version(major, minor)
if major == "19" and minor == "10" then return "vs2017"
if major == "19" and minor >= "10" then return "vs2017"
elseif major == "19" then return "vs2015"
elseif major == "18" then return "vs2013"
elseif major == "17" then return "vs2012"
@@ -1,7 +1,7 @@
#include <string>
template __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>::basic_string(const char*, const std::allocator<char>&);
template __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>::basic_string(const char* const, const std::allocator<char>&);
template __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>::~basic_string() noexcept;
template __declspec(dllexport) const char* std::basic_string<char, std::char_traits<char>, std::allocator<char>>::c_str() const noexcept;
template __declspec(dllexport) std::allocator<char>::allocator() noexcept;
Oops, something went wrong.

0 comments on commit 4d177b3

Please sign in to comment.