-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (44 loc) · 1.01 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
version: 1.2.{build}
os: Visual Studio 2015
platform: x64
configuration:
- Debug
- Release
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
}
perl utils/sort_solution check
if ($LASTEXITCODE -ne 0) {
exit 1
}
}
build:
project: src/NVML.sln
parallel: true
verbosity: minimal
after_build:
- ps: >-
utils/CREATE-ZIP.ps1 -b $Env:CONFIGURATION
test_script:
- ps: >-
if ($Env:CONFIGURATION -eq "Debug") {
cd src/test
md /temp
echo "`$Env:NON_PMEM_FS_DIR = `"\temp`"" > testconfig.ps1
echo "`$Env:PMEM_FS_DIR = `"\temp`"" >> testconfig.ps1
echo "`$Env:PMEM_FS_DIR_FORCE_PMEM = `"1`"" >> testconfig.ps1
./RUNTESTS.ps1 -b debug -o 3m
}
artifacts:
- path: 'src\x64\*.zip'
name: NVML