forked from rbock/sqlpp11-connector-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
44 lines (38 loc) · 1013 Bytes
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
os: Visual Studio 2015
platform:
- x64
services:
- mysql
configuration:
- Debug
#- Release
matrix:
fast_finish: true
build_script:
- cmake --version
- SET PATH=%PATH%;"C:\Program Files\MySql\MySQL Server 5.7\bin"
- set MYSQL_PWD=Password12!
- SET
- mysql -e "create database sqlpp_mysql;" --user=root
- CD
- cd ..
- CD
- git clone https://github.com/MariaDB/mariadb-connector-c
- cd mariadb-connector-c
- mkdir build
- cd build
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_GENERATOR_PLATFORM=x64
- cmake --build . --config %configuration% --target install
- CD ..
- CD ..
- CD
- git clone https://github.com/HowardHinnant/date
- git clone https://github.com/rbock/sqlpp11
- cd sqlpp11-connector-mysql
- CD
- echo %configuration%
- mkdir build
- cd build
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_GENERATOR_PLATFORM=x64
- cmake --build . --config %configuration%
#- ctest . --output-on-failure --build-config %configuration%