-
Notifications
You must be signed in to change notification settings - Fork 357
Expand file tree
/
Copy path.appveyor.yml
More file actions
42 lines (35 loc) · 886 Bytes
/
.appveyor.yml
File metadata and controls
42 lines (35 loc) · 886 Bytes
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 2022
environment:
CTEST_OUTPUT_ON_FAILURE: 1
CMAKE_TOOLCHAIN_FILE: -DCMAKE_TOOLCHAIN_FILE="C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake"
platform:
- x64
configuration:
#- Debug
- Release
matrix:
fast_finish: true
install:
- vcpkg install sqlite3:x64-windows
cache:
- c:\tools\vcpkg\installed\
build_script:
- CD
- cd ..
- CD
- git clone https://github.com/HowardHinnant/date
- cd date
- git checkout tags/v2.4
- cd ..
- cd sqlpp11
- CD
- echo %configuration%
- mkdir build
- cd build
- cmake --version
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_PREFIX_PATH="C:\projects\date" %CMAKE_TOOLCHAIN_FILE% -DBUILD_MYSQL_CONNECTOR=ON -DBUILD_POSTGRESQL_CONNECTOR=ON -DBUILD_SQLITE3_CONNECTOR=ON
- cmake --build . --config %configuration%
- cd tests
- cd core
- ctest . --build-config %configuration%