-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
45 lines (37 loc) · 1012 Bytes
/
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
image: Visual Studio 2019
platform: x64
configuration: Release
environment:
PYTHON: "C:\\Python310-x64"
matrix:
- ARCH: "x86"
- ARCH: "x64"
branches:
only:
- master
- /chrome/
init:
- ECHO %ARCH%
install:
# checkout git sub-modules
- git submodule update --init --recursive
build: false
test_script:
# skia build setup wants 'python3.exe' in the PATH, so we make a symlink
- "mklink %PYTHON%\\python3.exe %PYTHON%\\python.exe"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# build skia.dll and place .zip archive inside dist/ folder
- mkdir dist
- "python3 build_skia.py --target-cpu %ARCH% --shared-lib --archive-file dist\\libskia-win-%ARCH%.zip"
- dir /s /b dist\*.zip
artifacts:
# archive the generated archive in the ci.appveyor.com build report
- path: dist\*.zip
deploy:
provider: GitHub
auth_token:
secure: wjpQf8LbNL/qb2paDV1Rl3hYKs80Q3gevByv6cXlBN5M54Eh/OgJEC4QV27iywfy
draft: false
prerelease: false
on:
APPVEYOR_REPO_TAG: true