113 lines
2.8 KiB
YAML
113 lines
2.8 KiB
YAML
# .appveyor.yml for testing EPICS Base ci-scripts
|
|
# (see: https://github.com/epics-base/ci-scripts)
|
|
|
|
# Note:
|
|
# Paths to scripts are different in this test configuration
|
|
# (your module has one more directory level: .ci)
|
|
|
|
# Ralph Lange <ralph.lange@gmx.de>
|
|
# Copyright (c) 2020 ITER Organization
|
|
|
|
|
|
#---------------------------------#
|
|
# repository cloning #
|
|
#---------------------------------#
|
|
|
|
# Called at very beginning, before repo cloning
|
|
init:
|
|
# Set autocrlf to make batch files work
|
|
- git config --global core.autocrlf true
|
|
|
|
# Set clone depth (do not fetch complete history)
|
|
clone_depth: 50
|
|
|
|
# Skipping commits affecting only specific files
|
|
skip_commits:
|
|
files:
|
|
- 'documentation/*'
|
|
- 'templates/*'
|
|
- '**/*.html'
|
|
- '**/*.md'
|
|
|
|
#---------------------------------#
|
|
# build matrix configuration #
|
|
#---------------------------------#
|
|
|
|
# Build Configurations: dll/static, regular/debug
|
|
configuration:
|
|
- dynamic
|
|
- static
|
|
- dynamic-debug
|
|
- static-debug
|
|
|
|
# Environment variables: compiler toolchain
|
|
environment:
|
|
matrix:
|
|
- CC: mingw
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
- CC: vs2019
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
- CC: vs2017
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
- CC: vs2015
|
|
- CC: vs2013
|
|
- CC: vs2012
|
|
- CC: vs2010
|
|
|
|
# Platform: architecture
|
|
platform:
|
|
# - x86
|
|
- x64
|
|
|
|
# Matrix configuration: allow specific failing jobs
|
|
matrix:
|
|
exclude:
|
|
# VS2010 Express installs don't have the 64 bit compiler
|
|
- platform: x64
|
|
CC: vs2010
|
|
# Exclude to reduce total job runtime
|
|
# skip 64-bit for older and 32-bit for newer
|
|
- platform: x64
|
|
CC: vs2012
|
|
- platform: x86
|
|
CC: mingw
|
|
- platform: x86
|
|
CC: vs2019
|
|
- platform: x86
|
|
CC: vs2017
|
|
|
|
|
|
#---------------------------------#
|
|
# building & testing #
|
|
#---------------------------------#
|
|
|
|
build_script:
|
|
- cmd: python appveyor-test.py
|
|
|
|
|
|
#---------------------------------#
|
|
# debugging #
|
|
#---------------------------------#
|
|
|
|
## if you want to connect by remote desktop to a failed build, uncomment these lines
|
|
## note that you will need to connect within the usual build timeout limit (60 minutes)
|
|
## so you may want to adjust the build matrix above to just build the one of interest
|
|
|
|
#on_failure:
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
|
#---------------------------------#
|
|
# notifications #
|
|
#---------------------------------#
|
|
|
|
notifications:
|
|
|
|
# - provider: Email
|
|
# to:
|
|
# - core-talk@aps.anl.gov
|
|
# on_build_success: false
|
|
|
|
# - provider: GitHubPullRequest
|