forked from crosswalk-project/realsense-extensions-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
82 lines (59 loc) · 2.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
# Copyright (c) 2015 Intel Corporation. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
version: 18.6.1.{build}
clone_folder: c:\projects\realsense-extensions-crosswalk\src\extensions
init:
- cmd: git config --global core.autocrlf input
environment:
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
XWALK_CHANNEL: canary
XWALK_VERSION: 18.48.475.0
install:
- cmd: >-
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git c:\projects\realsense-extensions-crosswalk\src\third_party\depot_tools
set PATH=%PATH%;c:\projects\realsense-extensions-crosswalk\src\third_party\depot_tools
mkdir c:\projects\xwalk
cd c:\projects\xwalk
curl -fsS -o crosswalk-%XWALK_VERSION%.zip https://download.01.org/crosswalk/releases/crosswalk/windows/%XWALK_CHANNEL%/%XWALK_VERSION%/crosswalk-%XWALK_VERSION%.zip
set XWALK_HOME=c:\projects\xwalk\crosswalk-%XWALK_VERSION%.zip
npm install -g https://github.com/crosswalk-project/crosswalk-app-tools.git
set PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.10\bin
cd c:\projects\realsense-extensions-crosswalk
gclient config --spec=solutions=[{'name':'src','url':'https://github.com/crosswalk-project/crosswalk-extensions-sdk.git','deps_file':'DEPS','managed':True,'custom_deps':{'extensions/third_party/libpxc':'https://github.com/crosswalk-project/libpxc.git'},'safesync_url':'',},]
gclient sync
before_build:
- cmd: >-
curl -fsS -o get-pip.py https://bootstrap.pypa.io/get-pip.py
python get-pip.py
set PATH=%PATH%;c:\Python27\Scripts
pip install https://closure-linter.googlecode.com/svn/trunk/
cd c:\projects\realsense-extensions-crosswalk\src\extensions
python ..\tools\lint.py
build_script:
- cmd: >-
cd c:\projects\realsense-extensions-crosswalk\src
gn gen out\Release_x64_gn --args="is_debug=false"
ninja -C out\Release_x64_gn sample_app
after_build:
- cmd: >-
cd c:\projects\realsense-extensions-crosswalk\src\out\Release_x64_gn
7z a realsense_extensions.zip realsense_extensions
appveyor PushArtifact realsense_extensions.zip
7z a sample_installers.zip org.crosswalk_project.rs_sample*
appveyor PushArtifact sample_installers.zip
deploy:
description: 'Release Description'
provider: GitHub
auth_token:
secure: x7Q/400f4Ng1G+6j+c70wrgd866E3lDV1buKeHZPdftRo/cog1kP3CFE612n/kP5
draft: true
prerelease: true
on:
appveyor_repo_tag: true
test: off
artifacts:
- path: realsense_extensions.zip
name: RealSense Extensions for crosswalk
- path: sample_installers.zip
name: Sample App Installers