forked from abanu-org/abanu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
103 lines (69 loc) · 1.68 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '0.0.1.{build}'
configuration: Release
platform: Any CPU
image:
- Visual Studio 2019
- Visual Studio 2017
- Ubuntu1804
shallow_clone: true
build: off
skip_tags: true
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
for:
# Windows Build - Visual Studio 2019:
-
matrix:
only:
- image: Visual Studio 2019
# install:
# - cmd: choco install InnoSetup
# - cmd: SET PATH=C:\Program Files (x86)\Inno Setup 6;%PATH%
before_build:
build:
after_build:
build_script:
test_script:
after_test:
#nuget:
#test: off
artifacts:
deploy:
# Windows Build - Visual Studio 2017:
-
matrix:
only:
- image: Visual Studio 2017
install:
before_build:
build:
after_build:
build_script:
test_script:
after_test:
#nuget:
#test: off
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
artifacts:
# Linux Build:
-
matrix:
only:
- image: Ubuntu1804
install:
- sh: docker pull abanuproject/abanu-build || docker pull abanuproject/abanu-build # with retry, if failed
before_build:
- echo test
build: off
build_script:
- sh: echo UID "$UID"
- sh: docker run --name MOSA -v $APPVEYOR_BUILD_FOLDER:/home/appveyor abanuproject/abanu-build /bin/bash -c "useradd -m -u $UID appveyor && su appveyor -- -c 'cd /home/appveyor && chmod +x abctl && ./abctl test && ./abctl unittest'"