summaryrefslogtreecommitdiffstats
path: root/libmariadb/appveyor.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
commit06eaf7232e9a920468c0f8d74dcf2fe8b555501c (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /libmariadb/appveyor.yml
parentInitial commit. (diff)
downloadmariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.tar.xz
mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libmariadb/appveyor.yml')
-rw-r--r--libmariadb/appveyor.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/libmariadb/appveyor.yml b/libmariadb/appveyor.yml
new file mode 100644
index 00000000..9088b993
--- /dev/null
+++ b/libmariadb/appveyor.yml
@@ -0,0 +1,41 @@
+version: 3.0.8;{build}
+branches:
+ only:
+ - 3.1
+environment:
+ matrix:
+ - DB: '10.2.38'
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ CMAKE_PARAM: 'Visual Studio 15 2017 Win64'
+ - DB: '10.3.29'
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ CMAKE_PARAM: 'Visual Studio 15 2017 Win64'
+ - DB: '10.4.19'
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ CMAKE_PARAM: 'Visual Studio 15 2017 Win64'
+ - DB: '10.5.10'
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ CMAKE_PARAM: 'Visual Studio 15 2017 Win64'
+
+
+configuration: RelWithDebInfo
+clone_folder: c:\projects\mariadb-connector-c
+before_build:
+ - cmd: appveyor-download.bat
+ - cmd: msiexec /i server.msi INSTALLDIR=c:\projects\server SERVICENAME=mariadb ALLOWREMOTEROOTACCESS=true /qn
+ - cmd: "\"c:\\projects\\server\\bin\\mysql.exe\" -e \"create database testc\" --user=root"
+ - cmd: set MARIADB_CC_TEST=1
+ - cmd: set MYSQL_TEST_USER=root
+ - cmd: set MYSQL_TEST_HOST=127.0.0.1
+ - cmd: set MYSQL_TEST_PASSWD=
+ - cmd: set MYSQL_TEST_PORT=3306
+ - cmd: set MYSQL_TEST_DB=testc
+ - cmd: cmake -G "%CMAKE_PARAM%" -DCMAKE_BUILD_TYPE=RelWithDebInfo
+build:
+ project: mariadb-connector-c.sln
+ parallel: true
+ verbosity: minimal
+test_script:
+ - cmd: cd c:\projects\mariadb-connector-c\unittest\libmariadb
+ - cmd: set MARIADB_PLUGIN_DIR=cd c:\projects\mariadb-connector-c\plugins\lib\RelWithDebInfo
+ - cmd: ctest -V