Skip to content

Commit 0ace243

Browse files
committed
Add appveyor configuration file
1 parent 2f67108 commit 0ace243

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

appveyor.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
version: 2.2.0.{build}
2+
3+
os: Visual Studio 2015
4+
5+
branches:
6+
except:
7+
- /.*travis.*/
8+
skip_commits:
9+
message: /travis/
10+
files:
11+
- .travis.yml
12+
13+
environment:
14+
global:
15+
APPVEYOR_SAVE_CACHE_ON_ERROR: true
16+
CYG_ROOT: C:/MinGW/msys/1.0
17+
EVENT_TESTS_PARALLEL: 20
18+
EVENT_BUILD_PARALLEL: 10
19+
matrix:
20+
- Platform: Cygwin32
21+
- Platform: MinGW32
22+
PlatformToolset: 4.8.5
23+
- Platform: MinGW64
24+
PlatformToolset: 4.8.5
25+
- Platform: MinGW32
26+
PlatformToolset: 5.3.0
27+
- Platform: MinGW64
28+
PlatformToolset: 5.3.0
29+
- Platform: Win32
30+
PlatformToolset: v90
31+
- Platform: Win32
32+
PlatformToolset: v100
33+
- Platform: Win32
34+
PlatformToolset: v110
35+
- Platform: Win32
36+
PlatformToolset: v120
37+
- Platform: Win32
38+
PlatformToolset: v140
39+
- Platform: x64
40+
PlatformToolset: v140
41+
matrix:
42+
allow_failures:
43+
- EVENT_ALLOW_FAILURE: 1
44+
fast_finish: true
45+
46+
init:
47+
- 'echo Building libhttpserver %version% for Windows'
48+
- 'echo System architecture: %PLATFORM%'
49+
- 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
50+
- 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
51+
- 'echo Repo build commit is: %APPVEYOR_REPO_COMMIT%'
52+
- 'echo Cygwin root is: %CYG_ROOT%'
53+
install:
54+
- C:\MinGW\bin\mingw-get install autotools autoconf automake
55+
build_script:
56+
- ps: |
57+
$env:PATH="$env:CYG_ROOT\bin;C:\MinGW\bin;$($env:PATH)"
58+
bash -lc "echo 'C:\MinGW /mingw' > /etc/fstab"
59+
bash -lc "echo 'C:\OpenSSL-Win32 /ssl' >> /etc/fstab"
60+
$env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
61+
bash -lc "exec 0</dev/null; exec 2>&1; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./bootstrap && mkdir -p build && cd build && ../configure && make"
62+
63+
cache:
64+
- build

0 commit comments

Comments
 (0)