Blame appveyor.yml

Packit 8f2243
# http://www.appveyor.com/docs/appveyor-yml
Packit 8f2243
#
Packit 8f2243
# To setup AppVeyor for your own personal repositories do the following:
Packit 8f2243
# - Sign up
Packit 8f2243
# - Add a new project
Packit 8f2243
# - Select Git and fill in the Git clone URL
Packit 8f2243
# - Setup a Git hook as explained in
Packit 8f2243
#   https://github.com/appveyor/webhooks#installing-git-hook
Packit 8f2243
# - Check 'Settings > General > Skip branches without appveyor.yml'
Packit 8f2243
# - Check 'Settings > General > Rolling builds'
Packit 8f2243
# - Setup the global or project notifications to your liking
Packit 8f2243
#
Packit 8f2243
# Note that kicking (or restarting) a build via the web UI will not work, as it
Packit 8f2243
# will fail to find appveyor.yml .  The Git hook is the most practical way to
Packit 8f2243
# kick a build.
Packit 8f2243
#
Packit 8f2243
# See also:
Packit 8f2243
# - http://help.appveyor.com/discussions/problems/2209-node-grunt-build-specify-a-project-or-solution-file-the-directory-does-not-contain-a-project-or-solution-file
Packit 8f2243
# - http://help.appveyor.com/discussions/questions/1184-build-config-vs-appveyoryaml
Packit 8f2243
Packit 8f2243
version: '{build}'
Packit 8f2243
Packit 8f2243
branches:
Packit 8f2243
  except:
Packit 8f2243
  - /^travis.*$/
Packit 8f2243
Packit 8f2243
# Don't download the full Mesa history to speed up cloning.  However the clone
Packit 8f2243
# depth must not be too small, otherwise builds might fail when lots of patches
Packit 8f2243
# are committed in succession, because the desired commit is not found on the
Packit 8f2243
# truncated history.
Packit 8f2243
#
Packit 8f2243
# See also:
Packit 8f2243
# - https://www.appveyor.com/blog/2014/06/04/shallow-clone-for-git-repositories
Packit 8f2243
clone_depth: 100
Packit 8f2243
Packit 8f2243
# https://www.appveyor.com/docs/build-cache/
Packit 8f2243
cache:
Packit 8f2243
- '%LOCALAPPDATA%\pip\Cache -> appveyor.yml'
Packit 8f2243
- win_flex_bison-2.5.15.zip
Packit 8f2243
- llvm-5.0.1-msvc2017-mtd.7z
Packit 8f2243
- subprojects\packagecache -> subprojects\*.wrap
Packit 8f2243
Packit 8f2243
os: Visual Studio 2017
Packit 8f2243
Packit 8f2243
init:
Packit 8f2243
# Appveyor defaults core.autocrlf to input instead of the default (true), but
Packit 8f2243
# that can hide problems processing CRLF text on Windows
Packit 8f2243
- git config --global core.autocrlf true
Packit 8f2243
Packit 8f2243
environment:
Packit 8f2243
  WINFLEXBISON_VERSION: 2.5.15
Packit 8f2243
  LLVM_ARCHIVE: llvm-5.0.1-msvc2017-mtd.7z
Packit 8f2243
  matrix:
Packit 8f2243
  - compiler: msvc
Packit 8f2243
    buildsystem: scons
Packit 8f2243
Packit 8f2243
install:
Packit 8f2243
- cmd: .appveyor\appveyor_msvc.bat install
Packit 8f2243
Packit 8f2243
build_script:
Packit 8f2243
- cmd: .appveyor\appveyor_msvc.bat build_script
Packit 8f2243
Packit 8f2243
test_script:
Packit 8f2243
- cmd: .appveyor\appveyor_msvc.bat test_script
Packit 8f2243
Packit 8f2243
# It's possible to setup notification here, as described in
Packit 8f2243
# http://www.appveyor.com/docs/notifications#appveyor-yml-configuration , but
Packit 8f2243
# doing so would cause the notification settings to be replicated across all
Packit 8f2243
# repos, which is most likely undesired.  So it's better to rely on the
Packit 8f2243
# Appveyor global/project notification settings.