.appveyor.yml 932 字节
Newer Older
1
version: 1.0.{build}
L
liuyq-617 已提交
2 3
image: 
  - Visual Studio 2015
L
liuyq-617 已提交
4
  - macos
R
test  
root 已提交
5 6 7 8
environment:
  matrix:
    - ARCH: amd64
    - ARCH: x86
L
liuyq-617 已提交
9 10
matrix:
  exclude:
L
liuyq-617 已提交
11
    - image: macos
L
liuyq-617 已提交
12 13 14 15 16 17 18 19
      ARCH: x86
for:
  - 
    matrix:
      only:
        - image: Visual Studio 2015
    clone_folder: c:\dev\TDengine
    clone_depth: 1
R
test  
root 已提交
20

L
liuyq-617 已提交
21 22
    init:
      - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
23

L
liuyq-617 已提交
24 25 26
    before_build:
      - cd c:\dev\TDengine
      - md build
27

L
liuyq-617 已提交
28 29 30 31 32 33 34
    build_script:
      - cd build
      - cmake -G "NMake Makefiles" ..
      - nmake install
  -
    matrix:
      only:
L
liuyq-617 已提交
35
        - image: macos
L
liuyq-617 已提交
36
    clone_depth: 1
R
root 已提交
37

L
liuyq-617 已提交
38 39 40 41 42
    build_script:
      - mkdir debug
      - cd debug
      - cmake .. > /dev/null
      - make > /dev/null
43 44 45 46 47 48 49
notifications:
- provider: Email
  to:
  - sangshuduo@gmail.com
  on_build_success: true
  on_build_failure: true
  on_build_status_changed: true