]> git.lizzy.rs Git - sqlite3-cmake.git/blob - appveyor.yml
Update to Sqlite 3.8.11.1
[sqlite3-cmake.git] / appveyor.yml
1 version: 3.8.5.{build}
2
3 environment:
4   P: "c:/projects/libs"
5   ACCOUNT:
6     secure: haKHy4KWVnBuCd6I3obXGMa9TjRa8oXFm9P+Pw6f5P0=
7
8 # branches to build
9 branches:
10   # whitelist
11   only:
12     - master
13
14 # Operating system (build VM template)
15 os: Windows Server 2012 R2
16
17 # scripts that are called at very beginning, before repo cloning
18 init:
19   - git config --global core.autocrlf input
20
21
22 # clone directory
23 clone_folder: c:\projects\sqlite
24
25 platform: x64
26 configuration: Release
27
28 install:
29   # by default, all script lines are interpreted as batch
30
31 build:
32   project: INSTALL.vcxproj      # path to Visual Studio solution or project
33
34 # scripts to run before build
35 before_build:
36   - echo Running cmake...
37   - cd c:\projects\sqlite
38   - cmake -G "Visual Studio 12 Win64" -DCMAKE_INSTALL_PREFIX=%P%
39
40 # scripts to run after build
41 after_build:
42   - cd %P%
43   - 7z a c:\projects\sqlite\sqlite.zip * -tzip
44   - cd c:\projects\sqlite
45
46 artifacts:
47   - path: sqlite.zip
48     name: sqlite.zip
49
50 deploy_script:
51   - cd c:\projects\sqlite
52   - curl -T sqlite.zip --user %ACCOUNT% https://webdav.yandex.ru/libs/sqlite.zip