-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
59 lines (46 loc) · 1.44 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
#---------------------------------#
# general configuration #
#---------------------------------#
version: 1.0.{build}-{branch}
# branches to build
branches:
# whitelist
# only:
# - master
# blacklist
except:
- gh-pages
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
# clone directory
clone_folder: c:\projects\lassert
# fetch repository as zip archive
shallow_clone: true
#---------------------------------#
# build configuration #
#---------------------------------#
platform:
- x86
- x64
#---------------------------------#
# tests configuration #
#---------------------------------#
before_test:
- cd tests\c\classert
- if exist debug (cd debug) else (cd x64\debug)
test_script:
- CLAssert.exe -nt > out.txt || type out.txt
- CLAssert.exe -nt -tags=[a][c],[d] >> out.txt
- echo ++++++++++++++++++++++++++++++++++++++++
- echo ++++++++++++++++++++++++++++++++++++++++
- echo ++++++++++++++++++++++++++++++++++++++++
- echo ++++++++++++++++++++++++++++++++++++++++
- echo ++++++++++++++++++++++++++++++++++++++++
- type c:\projects\lassert\tests\win_ref.txt
- ps: compare-object (get-content out.txt) (get-content c:\projects\lassert\tests\win_ref.txt) -PassThru | format-list | Out-File empty.txt
- type empty.txt
- type nul > ref.txt
- echo N | comp ref.txt empty.txt