Files
ViGEmBus/appveyor.yml
Benjamin Höglinger-Stelzer 86a781216a Updated appveyor.yml
2020-02-01 20:38:49 +01:00

24 lines
801 B
YAML

version: 1.16.{build}.0
image: Visual Studio 2019
platform:
- x86
- x64
configuration:
- Release_DLL
install:
- cmd: git submodule -q update --init
before_build:
- ps: Invoke-WebRequest "https://downloads.vigem.org/other/nefarius/vpatch/vpatch.exe" -OutFile vpatch.exe
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\src\%APPVEYOR_PROJECT_NAME%.vcxproj" --vcxproj.inf-time-stamp
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\src\%APPVEYOR_PROJECT_NAME%.rc" --resource.file-version --resource.product-version
build:
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
artifacts:
- path: 'bin**\*.lib'
- path: 'bin**\*.dll'
- path: 'bin**\*.pdb'
deploy:
- provider: Environment
name: BUILDBOT
on:
appveyor_repo_tag: true