-
Notifications
You must be signed in to change notification settings - Fork 42
/
appveyor.yml
53 lines (44 loc) · 1.31 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
# Operating system (build VM template)
os: Visual Studio 2015
# clone directory
clone_folder: c:\projects\java-cef
platform:
- win32
- x64
configuration:
- Release
environment:
matrix:
- buildType: win32
generatorName: Visual Studio 14
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
- buildType: win64
generatorName: Visual Studio 14 Win64
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
matrix:
exclude:
- platform: x64
buildType: win32
- platform: win32
buildType: win64
before_build:
- SET PATH=%JAVA_HOME%;%PATH%
#- git clone --depth=1 https://bitbucket.org/chromiumembedded/java-cef.git c:\projects\java-cef\src
- git clone --depth=1 https://bitbucket.org/guusdk/java-cef.git c:\projects\java-cef\src
- echo "Running cmake..."
- cd c:\projects\java-cef\src
- mkdir jcef_build
- cd jcef_build
- cmake -G "%generatorName%" ..
- echo "Building the JCEF Java classes..."
- cd c:\projects\java-cef\src\tools
- compile.bat %buildType%
after_build:
- echo "Making distribution..."
- cd c:\projects\java-cef\src\tools\
- make_distrib.bat %buildType%
- cd c:\projects\java-cef\src\binary_distrib
- 7z a jcef-%buildType%-distribution.zip %buildType%
artifacts:
- path: src\binary_distrib\jcef-%buildType%-distribution.zip
name: jcef-%buildType%-distribution