-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathappveyor.yml
72 lines (53 loc) · 1.92 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
67
68
69
70
71
72
version: '{build}'
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_tags: true
image: Visual Studio 2019
configuration: Release
platform: x86
init:
- cmd: >-
choco install wget --version 1.20
cd \
wget -np --no-parent -nH --cut-dirs 4 -nc "https://dcmods.unreliable.network/owncloud/data/PiKeyAr/files/Various/dx81sdk.7z"
7z x dx81sdk.7z -o"C:\Program Files (x86)\DirectX 8.1 SDK"
cd C:\projects\sadx-mod-loader
before_build:
- cmd: git submodule update --init --recursive
build:
project: SADXModLoader.sln
verbosity: minimal
after_build:
- cmd: >-
mkdir C:\sadxmm
mkdir C:\sadxmm\extlib
mkdir C:\sadxmm\extlib\BASS
mkdir C:\sadxmm\extlib\D3D8M
mkdir C:\sadxmm\extlib\d3d8to11
mkdir C:\sadxmm\extlib\SDL2
copy C:\projects\sadx-mod-loader\bin\SADXModLoader.dll C:\sadxmm\SADXModLoader.dll
copy C:\projects\sadx-mod-loader\data\*.* C:\sadxmm\
copy C:\projects\sadx-mod-loader\extlib\bass\*.dll C:\sadxmm\extlib\BASS\
copy C:\projects\sadx-mod-loader\extlib\d3d8to9\d3d8.dll C:\sadxmm\extlib\D3D8M\d3d8m.dll
copy C:\projects\sadx-mod-loader\extlib\d3d8to11\*.* C:\sadxmm\extlib\d3d8to11\*.*
copy C:\projects\sadx-mod-loader\extlib\SDL2\lib\x86\*.dll C:\sadxmm\extlib\SDL2\
echo | set /p dummyName="%APPVEYOR_BUILD_VERSION%" > "C:\sadxmm\sadxmlver.txt"
7z a C:\projects\sadx-mod-loader\bin\SADXModLoader.7z C:\sadxmm\*
artifacts:
- path: bin\SADXModLoader.7z
before_deploy:
- ps: |-
if (!$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED) {
$env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED = "$env:APPVEYOR_REPO_COMMIT_MESSAGE"
}
deploy:
- provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
auth_token:
secure: 3U0hYOvkeEJsoN2b4U/c9RTDxjcj9txunvCbWfkg5qvOSB1qOnh4fnIE9EK5yAXi2m8RJMO4Zr/UqiVMB9CDPulfPRcJSJ83rsmh1EXBipUs4K/RQmQHaDG6UiiNQ1Xg
artifact: bin/SADXModLoader.7z
on:
branch: master