appveyor: update .appveyor.yml for ci-scripts
This commit is contained in:
@ -1,11 +1,18 @@
|
|||||||
# AppVeyor configuration for EPICS Base
|
# .appveyor.yml for use with EPICS Base ci-scripts
|
||||||
|
# (see: https://github.com/epics-base/ci-scripts)
|
||||||
# Ralph Lange <ralph.lange@gmx.de>
|
|
||||||
# Copyright (c) 2016-2017 ITER Organization
|
|
||||||
|
|
||||||
# Version format
|
# Version format
|
||||||
version: base-{branch}-{build}
|
version: base-{branch}-{build}
|
||||||
|
|
||||||
|
#---------------------------------#
|
||||||
|
# build cache #
|
||||||
|
#---------------------------------#
|
||||||
|
# The AppVeyor cache allowance is way too small (1GB per account across all projects, branches and jobs)
|
||||||
|
# to be used for the dependency builds.
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- C:\Users\appveyor\.tools
|
||||||
|
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
# repository cloning #
|
# repository cloning #
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
@ -16,7 +23,7 @@ init:
|
|||||||
- git config --global core.autocrlf true
|
- git config --global core.autocrlf true
|
||||||
|
|
||||||
# Set clone depth (do not fetch complete history)
|
# Set clone depth (do not fetch complete history)
|
||||||
clone_depth: 2
|
clone_depth: 5
|
||||||
|
|
||||||
# Skipping commits affecting only specific files
|
# Skipping commits affecting only specific files
|
||||||
skip_commits:
|
skip_commits:
|
||||||
@ -37,47 +44,78 @@ configuration:
|
|||||||
- dynamic-debug
|
- dynamic-debug
|
||||||
- static-debug
|
- static-debug
|
||||||
|
|
||||||
# Environment variables: compiler toolchain
|
# Environment variables: compiler toolchain, base version, setup file, ...
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
# common / default variables for all jobs
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
SETUP_PATH: .ci-local:.ci
|
||||||
TOOLCHAIN: 10.0
|
BASE: SELF
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
||||||
TOOLCHAIN: 11.0
|
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
||||||
TOOLCHAIN: 12.0
|
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
||||||
TOOLCHAIN: 14.0
|
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
||||||
TOOLCHAIN: 2017
|
|
||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
||||||
TOOLCHAIN: mingw
|
|
||||||
|
|
||||||
# Platform: architecture
|
matrix:
|
||||||
|
- CMP: vs2019
|
||||||
|
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: mingw
|
||||||
|
|
||||||
|
# Platform: processor architecture
|
||||||
platform:
|
platform:
|
||||||
- x86
|
- x86
|
||||||
- x64
|
- x64
|
||||||
|
|
||||||
# Matrix configuration: allow specific failing jobs
|
# Matrix configuration: exclude sets of jobs
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
# VS Express installs don't have the 64 bit compiler
|
# VS2012 and older installs don't have the 64 bit compiler
|
||||||
- platform: x64
|
- platform: x64
|
||||||
TOOLCHAIN: 10.0
|
CMP: vs2012
|
||||||
|
- platform: x64
|
||||||
|
CMP: vs2010
|
||||||
|
- platform: x64
|
||||||
|
CMP: vs2008
|
||||||
|
# Exclude more jobs to reduce build time
|
||||||
|
# Skip 32-bit for "middle-aged" compilers
|
||||||
|
- platform: x86
|
||||||
|
CMP: vs2017
|
||||||
|
- platform: x86
|
||||||
|
CMP: vs2015
|
||||||
|
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
# building & testing #
|
# building & testing #
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cmd: ci/appveyor-prepare.bat
|
- cmd: git submodule update --init --recursive
|
||||||
|
- cmd: python .ci/appveyor/do.py prepare
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: ci/appveyor-make.bat
|
- cmd: python .ci/appveyor/do.py build
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cmd: ci/appveyor-make.bat runtests
|
- cmd: python .ci/appveyor/do.py test
|
||||||
|
|
||||||
|
on_finish:
|
||||||
|
- ps: Get-ChildItem *.tap -Recurse -Force | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
|
- cmd: python .ci/appveyor/do.py build test-results -s
|
||||||
|
|
||||||
|
#---------------------------------#
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# print the connection info
|
||||||
|
#init:
|
||||||
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||||
|
|
||||||
|
# block a failed build (until the watchdog barks)
|
||||||
|
#on_failure:
|
||||||
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||||
|
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
# notifications #
|
# notifications #
|
||||||
|
Reference in New Issue
Block a user