summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 355c7f5aeeb428c301f974047a3f0b69bdf4986c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: build-{build}~branch-{branch}

before_build:
  - md %APPVEYOR_BUILD_FOLDER%\win_build
  - cd %APPVEYOR_BUILD_FOLDER%\win_build
  - 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
  parallel: true
  verbosity: minimal

configuration: RelWithDebInfo
platform: x64

test_script:
  - set PATH=C:\Strawberry\perl\bin;%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 --suite=main

image: Visual Studio 2019