-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (36 loc) · 1.22 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
image: Visual Studio 2017
branches:
only:
- master
skip_tags: true
max_jobs: 1
configuration: Release
clone_folder: c:\build
build:
parallel: true
project: Engine.sln
verbosity: minimal
after_build:
- cd "c:\build"
# Delete unnecessary debug files
- if exist .\*.pdb /f del \*.pdb
- if exist .\*.ipdb /f del \*.ipdb
- if exist .\*.iobj /f del \*.iobj
# Make name not so long
- set APPVEYOR_REPO_COMMIT=%APPVEYOR_REPO_COMMIT:~0,7%
# Package files into zip
# See https://sevenzip.osdn.jp/chm/cmdline/commands/add.htm for details on how the `a` command works
- 7z a engine_build.zip ".\Build\Release-x64\*.exe" # Add all exe files
- 7z a engine_build.zip ".\Build\Release-x64\*.dll" # Add all dll files
# Note: The following files must be added with directories/paths intact, can't just add to root directory
# like the exe/dll files.
# Add all shaders
- cd "Engine"
- 7z a ..\engine_build.zip "Graphics\Shaders\*.hlsl"
- 7z a ..\engine_build.zip "Graphics\Shaders\*.hlsli"
- 7z a ..\engine_build.zip "Graphics\Shaders\Ultralight\"
# Add all assets
- 7z a ..\engine_build.zip "Assets\"
artifacts:
- path: engine_build.zip
name: engine_bin_$(APPVEYOR_REPO_COMMIT).zip