This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
appveyor.yml
71 lines (61 loc) · 1.53 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
version: 1.4.{build}
os: Visual Studio 2017
platform: x64
install:
- ps: Install-PackageProvider -Name NuGet -Force
- ps: Install-Module PsScriptAnalyzer -Force
configuration:
- Debug
- Release
environment:
solutionname: VMEM.sln
matrix:
fast_finish: true
before_build:
- ps: >-
if ($Env:CONFIGURATION -eq "Debug") {
utils/CSTYLE.ps1
if ($LASTEXITCODE -ne 0) {
exit 1
}
utils/CHECK_WHITESPACE.ps1
if ($LASTEXITCODE -ne 0) {
exit 1
}
utils/ps_analyze.ps1
if ($LASTEXITCODE -ne 0) {
exit 1
}
perl utils/sort_solution check
if ($LASTEXITCODE -ne 0) {
exit 1
}
./utils/check_sdk_version.py -d .
if ($LASTEXITCODE -ne 0) {
exit 1
}
}
build_script:
- ps: msbuild src\$Env:solutionname /property:Configuration=$Env:CONFIGURATION /m /v:m
after_build:
- ps: utils/CREATE-ZIP.ps1 -b $Env:CONFIGURATION
test_script:
- ps: >-
if ($true) {
cd src\test
md C:\temp
echo "`$Env:TEST_DIR = `"C:\temp`"" >> testconfig.ps1
echo "`$Env:VMEM_NO_ABORT_MSG = `"1`"" >> testconfig.ps1
echo "`$Env:TM = `"1`"" >> testconfig.ps1
if ($Env:CONFIGURATION -eq "Debug") {
./RUNTESTS.ps1 -b debug -o 4m
}
if ($Env:CONFIGURATION -eq "Release") {
./RUNTESTS.ps1 -b nondebug -o 4m
}
}
artifacts:
- path: 'src\x64\*.zip'
name: VMEM
- path: '*examples*.zip'
name: VMEM_examples