From 7937fed917a0815b250d329ec67048d950dfecbf Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 12 Apr 2020 10:36:47 +1000 Subject: [PATCH] appveyor: config backport from 10.2 Include CMAKE_C{XX,}_FLAGS=/W0 as 10k warnings exist in 10.1 branch which cause the build to fail. --- appveyor.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000000..d94b58b524e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +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 -DCMAKE_CXX_FLAGS='/W0' -DCMAKE_C_FLAGS='/W0' +# note, don't merge /W0 to 10.2 + +build: + project: win_build\MySQL.sln + parallel: true + verbosity: minimal + +configuration: RelWithDebInfo +platform: x64 + +test_script: + - set PATH=%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64 + - 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