mirror of
https://github.com/MariaDB/server.git
synced 2026-04-17 05:45:33 +02:00
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.
This commit is contained in:
parent
1749a68968
commit
7937fed917
1 changed files with 22 additions and 0 deletions
22
appveyor.yml
Normal file
22
appveyor.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue