forked from ForNeVeR/tdlib.native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
46 lines (39 loc) · 845 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
46
skip_branch_with_pr: true
image:
- Visual Studio 2017
- ubuntu
cache:
- c:\tools\vcpkg\installed\
install:
- pwsh: |
if ($isLinux) {
./install.linux.ps1
} else {
./install.windows.ps1
}
build_script:
- pwsh: |
if ($isLinux) {
./build.linux.ps1
} else {
.\build.windows.ps1 -VcpkgToolchain c:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake
}
after_build:
- pwsh:
if ($isLinux) {
./pack.linux.ps1
} else {
.\pack.windows.ps1
}
artifacts:
- path: tdlib.windows.zip
name: tdlib.windows
- path: tdlib.linux.zip
name: tdlib.linux
deploy:
provider: GitHub
auth_token:
secure: gZMcwBPRuLO7UnRn8zrJOh52yLST5z0klrMZg9zsVVMungWPacvh8dOqBj+mkdeV
artifact: tdlib.windows,tdlib.linux
on:
APPVEYOR_REPO_TAG: true