summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2020-04-12 10:36:47 +1000
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2020-04-13 13:49:41 +0300
commit7937fed917a0815b250d329ec67048d950dfecbf (patch)
tree7842b1dfc25cb1e5e104b578bc0975d57f4ee296
parent1749a68968064278e13b43abfe93aff11e46b9a2 (diff)
downloadmariadb-git-7937fed917a0815b250d329ec67048d950dfecbf.tar.gz
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.
-rw-r--r--appveyor.yml22
1 files changed, 22 insertions, 0 deletions
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