summaryrefslogtreecommitdiffstats
path: root/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 /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 '')
-rw-r--r--appveyor.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..8e7b0fcb
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,30 @@
+version: build-{build}~branch-{branch}
+
+clone_depth: 1
+
+build_script:
+ # dump some system info
+ - echo processor='%PROCESSOR_IDENTIFIER%' , processor count= %NUMBER_OF_PROCESSORS%
+ - cd %APPVEYOR_BUILD_FOLDER%
+ # Disable unneeded submodules for the faster build
+ - git config submodule.storage/columnstore/columnstore.update none
+ - git config submodule.storage/maria/libmarias3.update none
+ - git config submodule.storage/rocksdb/rocksdb.update none
+ - git config submodule.wsrep-lib.update none
+ # Build minimal configuration
+ - mkdir _build
+ - cd _build
+ - set BUILD_TYPE=MinSizeRel
+ - set GENERATOR=-GNinja
+ - call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
+ - cmake -E time cmake %GENERATOR% .. -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DMYSQL_MAINTAINER_MODE=ERR -DFAST_BUILD=1 -DBISON_EXECUTABLE=C:\cygwin64\bin\bison.exe -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_FEEDBACK=NO
+ - set /A jobs=2*%NUMBER_OF_PROCESSORS%
+ - cmake -E time cmake --build . -j %jobs% --config %BUILD_TYPE% --target minbuild
+
+test_script:
+ - set PATH=C:\Strawberry\perl\bin;%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
+ - cd %APPVEYOR_BUILD_FOLDER%\_build\mysql-test
+ - set /A parallel=4*%NUMBER_OF_PROCESSORS%
+ - perl mysql-test-run.pl --force --max-test-fail=10 --retry=2 --parallel=%parallel% --testcase-timeout=4 --suite=main --skip-test-list=%APPVEYOR_BUILD_FOLDER%\win\appveyor_skip_tests.txt --mysqld=--loose-innodb-flush-log-at-trx-commit=2
+
+image: Visual Studio 2022