-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
85 lines (73 loc) · 2.89 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
version: svn-{branch}.{build}
image: Visual Studio 2019
clone_folder: C:\svn
shallow_clone: true
skip_tags: true
matrix:
fast_finish: false
cache:
C:\downloads
environment:
matrix:
- platform: "x64"
vcversion: "vs16"
svn_version: "1.14.2"
zlib_version: "1.2.12"
expat_release: "R_2_4_8"
expat_version: "2.4.8"
sqlite_dist: "https://www.sqlite.org/2022/sqlite-amalgamation-3390400.zip"
sqlite_version: "3390400"
httpd_dist: "https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.54-win64-VS16.zip"
httpd_zip: "httpd-2.4.54-win64-VS16.zip"
run_clean: "yes"
run_build: "yes"
run_tests: "no"
- platform: "x64"
vcversion: "vs16"
svn_version: "1.14.2"
zlib_version: "1.2.12"
expat_release: "R_2_4_8"
expat_version: "2.4.8"
sqlite_dist: "https://www.sqlite.org/2022/sqlite-amalgamation-3390400.zip"
sqlite_version: "3390400"
httpd_dist: "https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.54-win64-VS16.zip"
httpd_zip: "httpd-2.4.54-win64-VS16.zip"
run_clean: "no"
run_build: "yes"
run_tests: "yes"
- platform: "x86"
vcversion: "vs16"
svn_version: "1.14.2"
zlib_version: "1.2.12"
expat_release: "R_2_4_8"
expat_version: "2.4.8"
sqlite_dist: "https://www.sqlite.org/2022/sqlite-amalgamation-3390400.zip"
sqlite_version: "3390400"
httpd_dist: "https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.54-win32-VS16.zip"
httpd_zip: "httpd-2.4.54-win32-VS16.zip"
run_clean: "yes"
run_build: "yes"
run_tests: "yes"
install:
- cd \svn
- Install.cmd
build_script:
- cd \svn
- Build.cmd
before_test:
- cd \svn
- Artifact.cmd
# scripts to run after tests
after_test:
# to run your custom scripts instead of automatic tests
test_script:
- cd \downloads\subversion-%svn_version%
- dir \downloads\subversion-%svn_version%
- if exist \downloads\subversion-%svn_version%\Release dir \downloads\subversion-%svn_version%\Release
- if "%run_tests%"=="yes" dir \downloads\subversion-%svn_version%\Release || exit 0
- if "%platform%"=="x64" set path=C:\OpenSSL-v111-Win64\bin;\Apache24\bin;\downloads\subversion-%svn_version%\Release;%path%
- if "%platform%"=="x86" set path=C:\OpenSSL-v111-Win32\bin;\Apache24\bin;\downloads\subversion-%svn_version%\Release;%path%
- if "%platform%"=="x64" if "%run_tests%"=="yes" C:\Python27-x64\python.exe win-tests.py --release --cleanup || exit 0
- if "%platform%"=="x86" if "%run_tests%"=="yes" C:\Python27\python.exe win-tests.py --release --cleanup || exit 0
artifacts:
- path: "*.zip"