-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
66 lines (50 loc) · 1.58 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 1.0.{build}-{branch}
branches:
except:
- gh-pages
skip_tags: true
skip_commits:
files:
- docs/*
- .github/*
- LICENSE
- README.md
- .travis.yml
skip_branch_with_pr: true
pull_requests:
do_not_increment_build_number: true
os: Visual Studio 2019
init:
- git config --global core.autocrlf input
install:
- cmd: xb setup
platform: Windows
configuration:
- Release
- Checked
build_script:
- cmd: xb build --config=%CONFIGURATION% --target=src\xenia-app --target=tests\xenia-cpu-ppc-tests --target=src\xenia-vfs-dump
after_build:
- cmd: |
7z a xenia-%appveyor_repo_branch%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia.pdb
7z a xenia-vfs-dump-%appveyor_repo_branch%.zip LICENSE %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.exe %APPVEYOR_BUILD_FOLDER%\build\bin\%PLATFORM%\%CONFIGURATION%\xenia-vfs-dump.pdb
before_test:
- cmd: xb gentests
test_script:
- cmd: xb test --config=%CONFIGURATION% --no_build
artifacts:
- path: xenia-cpu-ppc-test.log
- path: xenia-$(appveyor_repo_branch).zip
- path: xenia-vfs-dump-$(appveyor_repo_branch).zip
deploy:
- provider: Environment
name: xenia-master
release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version)
artifact: xenia-$(appveyor_repo_branch).zip,xenia-vfs-dump-$(appveyor_repo_branch).zip
draft: false
prerelease: true
on:
branch: master
configuration: release
appveyor_repo_tag: true
is_not_pr: true