-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
67 lines (53 loc) · 1.96 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
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2022
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
platform:
- Win32
- x64
# build Configuration, i.e. Debug, Release, etc.
configuration:
- Debug
- Release
# to add several configurations to build matrix:
#configuration:
# - Debug
# - Release
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
parallel: true # enable MSBuild parallel builds
project: Engine/porting/Win32/OSSGameLibraryWin32.sln # path to Visual Studio solution or project
# MSBuild verbosity level
verbosity: normal
after_build:
- ps: |
if ($env:PLATFORM -eq "Win32"){
$env:OUTPATH = "Output"
}else{
$env:OUTPATH = "x64"
}
- 7z a %PLATFORM%_%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\Engine\porting\Win32\%OUTPATH%\%CONFIGURATION%\*.dll
- 7z a %PLATFORM%_%CONFIGURATION%.zip %APPVEYOR_BUILD_FOLDER%\Engine\porting\Win32\%OUTPATH%\%CONFIGURATION%\SampleProject.exe
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: $(PLATFORM)_$(CONFIGURATION).zip