appveyor.yml 1.94 KB
Newer Older
1
# NOTE: settings in this file have precedence over settings on the website
2 3 4 5 6 7
image: Visual Studio 2013

matrix:
  fast_finish: true

platform:
8 9
#  - Win32
  - x64
10

11 12 13
pull_requests:
  do_not_increment_build_number: true

14 15 16 17 18 19 20 21
notifications:
  - provider: Email
    to:
      - boinc_cvs@ssl.berkeley.edu
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

22 23 24 25 26 27
branches:
  only:
  - master

skip_tags: true

28 29
skip_commits:
  files:
30
    - .github/
31
    - 3rdParty/*.sh
32
    - android/
33 34 35 36 37 38
    - client/android/
    - client/os2/
    - client/scripts/
    - clientgui/gtk/
    - clientgui/mac/
    - clientgui/skins/
39
    - db/
40 41 42
    - doc/
    - drupal/
    - html/
43
    - integration_test
44
    - lib/mac/
45
    - locale/
46
    - m4/
47 48
    - mac_build/
    - mac_installer/
49
    - packages/
50
    - py/
51
    - stripchart/
52
    - tests/
53 54 55
    - tools/
    - vda/
    - xcompile/
56

57
configuration:
58 59
#  - Debug
  - Release
60 61 62 63 64

environment:
  matrix:
    - TOOLCHAIN_VERSION: 12.0
      solution_name: win_build\boinc_vs2013.sln
65
      depends_git_path: https://boinc.berkeley.edu/git/boinc_depends_win_vs2013.git
66
      depends_path: C:\projects\boinc_depends_win_vs2013
67 68
  BINTRAY_API_KEY:
    secure: kZI9k0Kh2bFSCbXfkz+J16fGNAee1ToRMl10D8QPQsKpC2PqhF/uVMpd6gRC+OSI
69 70

cache:
71
  - C:\projects\boinc_depends_win_vs2013 -> appveyor.yml, win_build\load_dependencies.bat
72 73

before_build:
74
  - call win_build\load_dependencies.bat %depends_git_path% %depends_path% %platform% %configuration%
75
  - if %TOOLCHAIN_VERSION%==12.0 call "%VS120COMNTOOLS%\vsvars32.bat"
76
  - rmdir /S /Q %localappdata%\Microsoft\VisualStudio\%TOOLCHAIN_VERSION%\ComponentModelCache
77 78

build_script:
79
  - devenv %solution_name% /Build "%configuration%|%platform%"
80

81 82
after_build:
  - call deploy\prepare_deployment.bat
83
  - call deploy\deploy_to_bintray.bat
84 85 86 87 88 89 90 91 92

artifacts:
  - path: deploy\win-apps\*.7z
    name: win-apps
  - path: deploy\win-client\*.7z
    name: win-client
  - path: deploy\win-manager\*.7z
    name: win-manager

93
test: off