forked from rbock/sqlpp11-connector-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
43 lines (38 loc) · 1.15 KB
/
.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
os: Visual Studio 2015
platform:
- x64
configuration:
- Debug
- Release
matrix:
fast_finish: true
build_script:
- CD
- SET
- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat amd64
- choco install wget
- wget http://www.sqlite.org/2016/sqlite-amalgamation-3120200.zip
- unzip sqlite-amalgamation-3120200.zip
- cd sqlite-amalgamation-3120200
- cl /c /EHsc sqlite3.c
- lib sqlite3.obj
- cd ..
- wget https://sqlite.org/2017/sqlite-dll-win64-x64-3190200.zip
- unzip sqlite-dll-win64-x64-3190200.zip
- cd ..
- CD
- git clone https://github.com/HowardHinnant/date
- cd date
- git checkout tags/v2.4
- cd ..
- git clone https://github.com/rbock/sqlpp11
- cd sqlpp11-connector-sqlite3
- CD
- echo %configuration%
- mkdir build
- cd build
- cmake --version
- cmake .. -DCMAKE_PREFIX_PATH="C:/projects/sqlpp11-connector-sqlite3/sqlite-amalgamation-3120200" -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_GENERATOR_PLATFORM=x64 -DHinnantDate_ROOT_DIR="../../date"
- cmake --build . --config %configuration%
- copy ..\sqlite3.dll tests\
- ctest . --output-on-failure --build-config %configuration%