2015-10-08 22:35:07 +00:00
|
|
|
# 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}
|
|
|
|
|
2020-08-31 20:57:54 +00:00
|
|
|
# Do not build feature branch with open Pull Requests
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
2020-09-08 17:43:19 +00:00
|
|
|
# Skip building commits if only the following directories/files are changed
|
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- .gitignore
|
|
|
|
- .travis.yml
|
|
|
|
- .clang-format
|
|
|
|
- '**/*.md'
|
|
|
|
- debian-packager/
|
|
|
|
- bin/PCSX2_keys.ini.default
|
|
|
|
# Linux only plugins for now
|
|
|
|
- plugins/onepad/
|
|
|
|
- plugins/onepad_legacy/
|
|
|
|
|
2015-10-08 22:35:07 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2017-10-07 21:40:17 +00:00
|
|
|
- platform: Win32
|
|
|
|
target: AppVeyor
|
2019-10-14 07:44:16 +00:00
|
|
|
visualstudio_string: vs2019
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
2020-07-02 15:10:47 +00:00
|
|
|
- platform: x64
|
|
|
|
target: AppVeyor
|
|
|
|
visualstudio_string: vs2019
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
2015-10-08 22:35:07 +00:00
|
|
|
|
2016-01-10 12:05:30 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-10-08 22:35:07 +00:00
|
|
|
init:
|
|
|
|
# Use CRLF line endings on Windows so users can just use Notepad.
|
|
|
|
- git config --global core.autocrlf true
|
|
|
|
|
2017-04-17 21:43:28 +00:00
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2015-10-08 22:35:07 +00:00
|
|
|
build_script:
|
|
|
|
- msbuild buildbot.xml /m /t:%target% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
|
|
|
|
after_build:
|
|
|
|
- ps: $env:gitrev = git describe --tags
|
2016-10-01 21:25:52 +00:00
|
|
|
- ps: $env:my_version = "$env:gitrev-$env:appveyor_build_number"
|
2015-10-08 22:35:07 +00:00
|
|
|
- type NUL > bin\portable.ini
|
|
|
|
- set folder_name=pcsx2-%my_version%-%visualstudio_string%-%platform%-%target%
|
|
|
|
- rename bin %folder_name%
|
|
|
|
- 7z a -mx9 %folder_name%.7z %folder_name%
|
|
|
|
|
|
|
|
test: off
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: $(folder_name).7z
|
|
|
|
name: $(visualstudio_string)-$(target)
|