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