forked from vgmtrans/vgmtrans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (31 loc) · 1.19 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Static build version - changing the version dynamically means you can't
# just click from github to see how things are progressing until the build has
# finished, which could be a bit annoying.
version: 1.{build}-{branch}
environment:
matrix:
- platform: Win32
target: Release
visualstudio_string: vs2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
matrix:
fast_finish: true
init:
# Use CRLF line endings on Windows so users can just use Notepad.
- git config --global core.autocrlf true
build_script:
- msbuild VGMTrans_WTL.sln /m /p:BuildInParallel=true /p:Configuration=%target% /p:Platform=%platform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- ps: $env:gitrev = git describe --always
- ps: $env:buildinfo = "$env:gitrev-$env:appveyor_repo_branch-$env:appveyor_build_number"
- set package_name=vgmtrans-%buildinfo%-%platform%-%target%
- copy %target%\VGMTrans_WTL.exe bin\vgmtrans.exe || copy %platform%\%target%\VGMTrans_WTL.exe bin\vgmtrans.exe
- mkdir vgmtrans
- move bin vgmtrans
- move LICENSE.txt vgmtrans
- move README.md vgmtrans
test: off
artifacts:
- path: vgmtrans
name: $(package_name)
type: zip