forked from cbhacks/CrashEdit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
74 lines (74 loc) · 3.4 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
73
74
version: appveyor-{build}
image: Visual Studio 2022
shallow_clone: true
environment:
CRASHEDIT_S3DEPLOY_ACCESSKEY_ID:
secure: vm68Yr9iFdgnH98tSRvqx1Kg6pX49e2cm9685GwH554=
CRASHEDIT_S3DEPLOY_ACCESSKEY_SECRET:
secure: i2KP8L+z+Txf6sYqGwZ8d7I+kDxQfLRBfLimncCKu8xPv3oF6hFsvVKFRVh/Tnd+
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: CrashEdit.csproj
version: '0.4.{build}'
assembly_version: '0.4.{build}'
file_version: '0.4.{build}'
informational_version: '0.4.{build}'
build_script:
- nuget restore CrashEdit.sln
- msbuild CrashEdit.sln
after_build:
- mkdir pkg
- mkdir pkg\ja
- mkdir pkg\Win32
- mkdir pkg\Win64
- mkdir pkg\runtimes
- copy .\README.md pkg
- copy .\README-CE2.md pkg
- copy .\CrashHacks\bin\Release\net8.0-windows\CrashHacks.exe pkg
- xcopy .\CrashEdit\bin\Release\net8.0-windows\Win32 pkg\Win32 /s /e
- xcopy .\CrashEdit\bin\Release\net8.0-windows\Win64 pkg\Win64 /s /e
- xcopy .\CrashEdit\bin\Release\net8.0-windows\runtimes pkg\runtimes /s /e
- copy .\CrashEdit\bin\Release\net8.0-windows\ja\Crash.UI.resources.dll pkg\ja
- copy .\CrashEdit\bin\Release\net8.0-windows\ja\CrashEdit.resources.dll pkg\ja
- copy .\CrashEdit\bin\Release\net8.0-windows\Crash.UI.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\CrashEdit.deps.json pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\CrashEdit.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\CrashEdit.exe pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\CrashEdit.Main.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\CrashEdit.runtimeconfig.json pkg
- copy .\CrashHacks\bin\Release\net8.0-windows\CrashHacks.dll pkg
- copy .\CrashHacks\bin\Release\net8.0-windows\CrashHacks.exe pkg
- copy .\CrashHacks\bin\Release\net8.0-windows\CrashHacks.runtimeconfig.json pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\DiscUtils.Core.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\DiscUtils.Iso9660.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\DiscUtils.Streams.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\FTBitmapExtensions.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\ISO2PSX.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Core.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Graphics.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Mathematics.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Windowing.Common.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Windowing.Desktop.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.Windowing.GraphicsLibraryFramework.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\OpenTK.WinForms.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\SpaceWizards.SharpFont.dll pkg
- copy .\CrashEdit\bin\Release\net8.0-windows\System.Drawing.Common.dll pkg
- 7z a CrashEdit.zip .\pkg\*
- move CrashEdit.zip CrashEdit-%APPVEYOR_BUILD_NUMBER%-%APPVEYOR_REPO_COMMIT%.zip
test: off
artifacts:
- path: CrashEdit-$(APPVEYOR_BUILD_NUMBER)-$(APPVEYOR_REPO_COMMIT).zip
name: CRASHEDIT-FULLZIP
deploy:
- provider: S3
access_key_id: $(CRASHEDIT_S3DEPLOY_ACCESSKEY_ID)
secret_access_key: $(CRASHEDIT_S3DEPLOY_ACCESSKEY_SECRET)
bucket: builds.crashedit.cbhacks.com
region: us-east-1
folder: appveyor/build-$(APPVEYOR_BUILD_NUMBER)
max_error_retry: 2
artifact: CRASHEDIT-FULLZIP
on:
branch: deprecate