.appveyor.yml 970 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
version: 1.0.{build}
image:
  - Visual Studio 2015
  - macos
environment:
  matrix:
    - ARCH: amd64
    - ARCH: x86
matrix:
  exclude:
    - image: macos
      ARCH: x86
for:
  -
    matrix:
      only:
        - image: Visual Studio 2015
    clone_folder: c:\dev\TDengine
    clone_depth: 1

    init:
      - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%

    before_build:
25
      - choco install lua
26 27 28 29 30 31 32 33 34 35 36 37 38
      - cd c:\dev\TDengine
      - md build

    build_script:
      - cd build
      - cmake -G "NMake Makefiles" .. -DBUILD_JDBC=false
      - nmake install
  -
    matrix:
      only:
        - image: macos
    clone_depth: 1

39 40 41
    before_build:
      - brew install lua

42 43 44 45 46 47 48 49 50 51 52 53
    build_script:
      - mkdir debug
      - cd debug
      - cmake .. > /dev/null
      - make > /dev/null
notifications:
- provider: Email
  to:
  - sangshuduo@gmail.com
  on_build_success: true
  on_build_failure: true
  on_build_status_changed: true