-
Notifications
You must be signed in to change notification settings - Fork 13
/
appveyor.yml
57 lines (46 loc) · 1.07 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
version: 1.0.{build}
branches:
only:
- main
skip_tags: true
image: Visual Studio 2022
configuration:
- Debug
- Release
clone_folder: c:/projects/KAIN2
build:
project: c:/projects/KAIN2/Build/Build_Win32/Soul Reaver.sln
verbosity: minimal
platform:
- Win32
#- x64
before_build:
- cmd: cd %clone_folder%
- ps: $env:GIT_COMMIT_COUNT = $(git rev-list --count HEAD)
- cmd: git submodule update --init --recursive
- cmd: cd External
- cmd: cd libValkyrie
- cmd: cd Platform
- cmd: cd Win32
#- cmd: cd Win64
- cmd: Generate-Project-Files.bat
artifacts:
- path: Binaries/%configuration%/*.zip
name: Binaries
after_build:
- cmd: cd ../
- cmd: cd ../
- cmd: cd Binaries
- cmd: cd %configuration%
- 7z a KAIN2-B%GIT_COMMIT_COUNT%-Win32-%configuration%.zip
deploy:
release: B$(GIT_COMMIT_COUNT)
description: 'Auto build B$(GIT_COMMIT_COUNT)'
provider: GitHub
auth_token:
secure: hLaU+617bEqExNi+kqicDsNM11QyKeMGYCSuchk7QCjHckEGZl8lmgON8tPsqztp
artifact: /.*\.zip/
draft: false
prerelease: true
on:
branch: main