-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from ralphlange:devel/add-appveyor
- Loading branch information
Showing
7 changed files
with
1,471 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
# .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 <[email protected]> | ||
# Copyright (c) 2020 ITER Organization | ||
|
||
#---------------------------------# | ||
# build cache # | ||
#---------------------------------# | ||
|
||
cache: | ||
- C:\Users\appveyor\.tools -> appveyor\do.py | ||
|
||
#---------------------------------# | ||
# additional packages # | ||
#---------------------------------# | ||
|
||
install: | ||
# for the sequencer | ||
- cinst re2c | ||
|
||
#---------------------------------# | ||
# 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, base version, setup file, ... | ||
environment: | ||
# common / default variables for all jobs | ||
SETUP_PATH: .:.ci | ||
SET: test01 | ||
BASE_RECURSIVE: NO | ||
VV: 1 | ||
|
||
matrix: | ||
- CMP: vs2019 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 | ||
SET: test00 | ||
- CMP: mingw | ||
- CMP: vs2019 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 | ||
VV: 0 | ||
- CMP: vs2019 | ||
BASE: 3.15 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 | ||
- CMP: vs2019 | ||
BASE: 3.14 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 | ||
- CMP: vs2017 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
- CMP: vs2015 | ||
- CMP: vs2013 | ||
- CMP: vs2012 | ||
- CMP: vs2010 | ||
- CMP: vs2008 | ||
|
||
# Platform: architecture | ||
platform: | ||
- x86 | ||
- x64 | ||
|
||
# Matrix configuration: allow specific failing jobs | ||
matrix: | ||
exclude: | ||
# Run test00 only once: x64 dynamic | ||
- platform: x86 | ||
SET: test00 | ||
- configuration: static | ||
SET: test00 | ||
- configuration: dynamic-debug | ||
SET: test00 | ||
- configuration: static-debug | ||
SET: test00 | ||
# VS2012 and older installs don't have the 64 bit compiler | ||
- platform: x64 | ||
CMP: vs2012 | ||
- platform: x64 | ||
CMP: vs2010 | ||
- platform: x64 | ||
CMP: vs2008 | ||
|
||
# Run test script for unit tests (SET = test00) | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- SET: test00 | ||
build_script: | ||
- cmd: python appveyor-test.py | ||
test_script: | ||
- cmd: echo Tests have been run in the build phase | ||
|
||
#---------------------------------# | ||
# building & testing # | ||
#---------------------------------# | ||
|
||
build_script: | ||
- cmd: python appveyor/do.py prepare | ||
- cmd: python appveyor/do.py build | ||
|
||
test_script: | ||
- cmd: python appveyor/do.py test | ||
|
||
#---------------------------------# | ||
# 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: | ||
# - [email protected] | ||
# on_build_success: false | ||
|
||
# - provider: GitHubPullRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.