forked from tpaviot/oce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (52 loc) · 1.72 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
version: oce-0.19.{build}
environment:
oce_version: 0.19
matrix:
- generator: "MinGW Makefiles"
ARCH: "i686"
Compiler: MinGW-gcc-5.3.0
BINDIR: C:\MinGW\bin
- generator: "MinGW Makefiles"
ARCH: "Win64"
Compiler: MinGW64-gcc-6.3.0
BINDIR: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
- generator: "MinGW Makefiles"
ARCH: "Win64"
Compiler: MinGW64-gcc-7.2.0
BINDIR: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
- generator: "Visual Studio 12"
ARCH: "Win32"
Compiler: "MSVC2013"
- generator: "Visual Studio 12 Win64"
ARCH: "Win64"
Compiler: "MSVC2013"
- generator: "Visual Studio 14"
ARCH: "Win32"
Compiler: "MSVC2015"
- generator: "Visual Studio 14 Win64"
ARCH: "Win64"
Compiler: "MSVC2015"
configuration:
- Release
branches:
only:
- master
- /^review/
shallow_clone: true
# scripts that are called at very beginning, before repo cloning
init:
before_build:
# scripts that run after cloning repository
install:
- cmd: CALL FetchBundle.bat
build_script:
- if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%")
- if not "%BINDIR%"=="" (set "PATH=%PATH%;%BINDIR%")
- if "%generator%" == "MinGW Makefiles" (CALL C:\projects\oce\appveyor-scripts\make-oce-msys.bat)
else (CALL C:\projects\oce\appveyor-scripts\make-oce-msvc.bat)
after_build:
- cmd: 7z a oce-%oce_version%.%ARCH%.%Compiler%.zip C:\oce-%oce_version% > nul
- cmd: dir oce-%oce_version%.%ARCH%.%Compiler%.zip
artifacts:
- path: oce-%oce_version%.%ARCH%.%Compiler%.zip
test: off # to avoid discovering tests