2018-02-01 13:37:20 +01:00
|
|
|
version: build-{build}~branch-{branch}
|
|
|
|
|
2021-09-04 20:37:40 +02:00
|
|
|
clone_depth: 1
|
2018-02-01 13:37:20 +01:00
|
|
|
|
2024-05-27 15:06:39 +02:00
|
|
|
environment:
|
|
|
|
OPENSSL_ROOT_DIR: C:/OpenSSL-v32-Win64
|
|
|
|
|
2021-09-04 20:37:40 +02:00
|
|
|
build_script:
|
|
|
|
# dump some system info
|
|
|
|
- echo processor='%PROCESSOR_IDENTIFIER%' , processor count= %NUMBER_OF_PROCESSORS%
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2021-09-10 16:27:38 +02:00
|
|
|
# Disable unneeded submodules for the faster build
|
2021-09-11 00:54:08 +02:00
|
|
|
- git config submodule.storage/columnstore/columnstore.update none
|
2021-09-10 16:27:38 +02:00
|
|
|
- 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
|
2021-09-04 20:37:40 +02:00
|
|
|
- mkdir _build
|
|
|
|
- cd _build
|
|
|
|
- set BUILD_TYPE=MinSizeRel
|
2024-05-27 15:06:39 +02:00
|
|
|
- set PATH=%OPENSSL_ROOT_DIR%;%PATH%
|
2021-09-04 20:37:40 +02:00
|
|
|
- set GENERATOR=-GNinja
|
2022-01-09 12:39:15 +01:00
|
|
|
- call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
|
2024-05-27 22:03:52 +02:00
|
|
|
- cmake -E time cmake %GENERATOR% .. -DWITH_SSL=system -DHAVE_OPENSSL_APPLINK_C=1 -DOPENSSL_ROOT_DIR=%OPENSSL_ROOT_DIR% -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
|
2021-09-04 20:37:40 +02:00
|
|
|
- set /A jobs=2*%NUMBER_OF_PROCESSORS%
|
2021-09-05 19:35:21 +02:00
|
|
|
- cmake -E time cmake --build . -j %jobs% --config %BUILD_TYPE% --target minbuild
|
2018-02-01 13:37:20 +01:00
|
|
|
|
2017-07-20 02:32:25 +02:00
|
|
|
test_script:
|
2024-05-27 15:06:39 +02:00
|
|
|
- set PATH=C:\Strawberry\perl\bin;%OPENSSL_ROOT_DIR%;%PATH%;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
|
2021-09-04 20:37:40 +02:00
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%\_build\mysql-test
|
|
|
|
- set /A parallel=4*%NUMBER_OF_PROCESSORS%
|
2022-07-27 16:52:37 +02:00
|
|
|
- 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
|
2018-02-01 13:37:20 +01:00
|
|
|
|
2024-06-05 12:13:33 +02:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- debian/
|
|
|
|
- '**/*.sh'
|
|
|
|
|
2024-06-05 12:26:46 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- /bb-/
|
2024-06-05 13:14:20 +02:00
|
|
|
- /\d+\.\d+$/
|
2024-06-05 12:26:46 +02:00
|
|
|
|
2022-01-09 12:39:15 +01:00
|
|
|
image: Visual Studio 2022
|