Skip to content

Commit

Permalink
initial appveyor.yml CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
chcg committed Dec 22, 2017
1 parent 0b12175 commit e95ce5c
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions appveyor.yml
@@ -0,0 +1,48 @@
version: 1.5.{build}
image: Visual Studio 2017


environment:
matrix:
#- PlatformToolset: v140
- PlatformToolset: v141

platform:
- Any CPU

configuration:
- Release
- Debug



build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- msbuild MediaDevices.sln /m /verbosity:minimal /t:Explorer;MediaDevices;MediaDeviceApp;MediaDevicesUnitTest /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

# after_build:
# - cd "%APPVEYOR_BUILD_FOLDER%"
# - ps: >-
# Push-AppveyorArtifact "MediaDevices\bin\$env:CONFIGURATION\MediaDevices.dll" -FileName MediaDevices.dll

# if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v141") {
# $ZipFileName = "MediaDevices_$($env:APPVEYOR_REPO_TAG_NAME).zip"
# 7z a $ZipFileName MediaDevices\bin\$env:CONFIGURATION\MediaDevices.dll
# }

# artifacts:
# - path: MediaDevices_*.zip
# name: releases

# deploy:
# provider: GitHub
# auth_token:
# secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
# artifact: releases
# draft: false
# prerelease: false
# force_update: true
# on:
# appveyor_repo_tag: true
# PlatformToolset: v141
# configuration: Release

0 comments on commit e95ce5c

Please sign in to comment.