mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Windows : require at least VS2019 for MSVC.
This will avoid some errors on appveyor, due to outdated SDKs.
This commit is contained in:
parent
f244b499e7
commit
504d4c1ff6
2 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@ version: build-{build}~branch-{branch}
|
|||
before_build:
|
||||
- md %APPVEYOR_BUILD_FOLDER%\win_build
|
||||
- cd %APPVEYOR_BUILD_FOLDER%\win_build
|
||||
- cmake .. -G "Visual Studio 15 2017 Win64" -DWITH_UNIT_TESTS=0 -DWITH_MARIABACKUP=0 -DMYSQL_MAINTAINER_MODE=ERR -DPLUGIN_ROCKSDB=NO -DPLUGIN_CONNECT=NO -DBISON_EXECUTABLE=C:\cygwin64\bin\bison
|
||||
- cmake .. -DWITH_UNIT_TESTS=0 -DWITH_MARIABACKUP=0 -DMYSQL_MAINTAINER_MODE=ERR -DPLUGIN_ROCKSDB=NO -DPLUGIN_CONNECT=NO -DBISON_EXECUTABLE=C:\cygwin64\bin\bison
|
||||
|
||||
build:
|
||||
project: win_build\MySQL.sln
|
||||
|
@ -18,4 +18,4 @@ test_script:
|
|||
- cd %APPVEYOR_BUILD_FOLDER%\win_build\mysql-test
|
||||
- perl mysql-test-run.pl --force --max-test-fail=10 --parallel=4 --testcase-timeout=10 --skip-test-list=unstable-tests --suite=main
|
||||
|
||||
image: Visual Studio 2017
|
||||
image: Visual Studio 2019
|
||||
|
|
|
@ -110,6 +110,9 @@ ENDMACRO()
|
|||
|
||||
|
||||
IF(MSVC)
|
||||
IF(MSVC_VERSION LESS 1920)
|
||||
MESSAGE(FATAL_ERROR "Visual Studio q2019 or later is required")
|
||||
ENDIF()
|
||||
# Disable mingw based pkg-config found in Strawberry perl
|
||||
SET(PKG_CONFIG_EXECUTABLE 0 CACHE INTERNAL "")
|
||||
|
||||
|
|
Loading…
Reference in a new issue