mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
29 lines
977 B
YAML
29 lines
977 B
YAML
version: 1.17.{build}.0
|
|
image: Visual Studio 2019
|
|
platform:
|
|
- x86
|
|
- x64
|
|
configuration:
|
|
- Release
|
|
install:
|
|
- cmd: git submodule -q update --init
|
|
before_build:
|
|
- ps: Invoke-WebRequest "https://github.com/nefarius/vpatch/releases/latest/download/vpatch.exe" -OutFile vpatch.exe
|
|
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\sys\ViGEmBus.vcxproj" --vcxproj.inf-time-stamp
|
|
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\sys\ViGEmBus.rc" --resource.file-version --resource.product-version
|
|
build:
|
|
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
|
|
after_build:
|
|
- cmd: makecab.exe /f ViGEmBus_%PLATFORM%.ddf
|
|
artifacts:
|
|
- path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.inf'
|
|
- path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.sys'
|
|
- path: 'bin**\$(APPVEYOR_PROJECT_NAME)\*.dll'
|
|
- path: 'bin**\*.pdb'
|
|
- path: 'disk1\*.cab'
|
|
- path: 'bin**\*.msi'
|
|
deploy:
|
|
- provider: Environment
|
|
name: BUILDBOT
|
|
on:
|
|
appveyor_repo_tag: true |