This repository has been archived by the owner on May 14, 2024. It is now read-only.
forked from rime/librime
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
74 lines (61 loc) · 1.76 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
clone_depth: 1
pull_requests:
do_not_increment_build_number: true
version: '{branch} build {build}'
image: Visual Studio 2017
environment:
global:
BOOST_ROOT: C:\Libraries\boost_1_69_0
CL: /Zc:threadSafeInit-
matrix:
- RIME_VARIANT: rime
RIME_PLUGINS: ""
- RIME_VARIANT: rime-with-plugins
RIME_PLUGINS: $(RIME_BUNDLED_PLUGINS)
matrix:
fast_finish: true
for:
- matrix:
only:
- RIME_VARIANT: rime-with-plugins
skip_non_tags: true
cache:
- thirdparty.cached -> appveyor_build_thirdparty.bat
- thirdparty.submodule-status -> appveyor_build_thirdparty.bat
- thirdparty\bin -> appveyor_build_thirdparty.bat
- thirdparty\include -> appveyor_build_thirdparty.bat
- thirdparty\lib -> appveyor_build_thirdparty.bat
- thirdparty\share -> appveyor_build_thirdparty.bat
- boost.cached -> appveyor_build_boost.bat
- C:\Libraries\boost_1_69_0\stage -> appveyor_build_boost.bat
init:
- git --version
- cmake --version
- git config --global core.autocrlf true
install:
- .\appveyor.install.bat
build_script:
- .\build.bat test
after_build:
- set artifacts=%RIME_VARIANT%-%APPVEYOR_REPO_TAG_NAME%-win32.zip
- echo %artifacts%
- 7z a %artifacts% dist thirdparty\bin thirdparty\share
before_test:
- copy /y dist\lib\rime.dll build\test
test_script:
- cd build\test
- .\Release\rime_test.exe
artifacts:
- path: $(RIME_VARIANT)-$(APPVEYOR_REPO_TAG_NAME)-win32.zip
name: Distributables
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
release: librime $(APPVEYOR_REPO_TAG_NAME)
description: "chore(release): librime $(APPVEYOR_REPO_TAG_NAME) :tada:"
provider: GitHub
auth_token:
secure: IWxtq+dikMJSiJBA2BaDgPCzNFys76RoPE4yZ9BTXg7J58uHvxHPZY6WdR5j53uv
artifact: Distributables
draft: true
on:
APPVEYOR_REPO_TAG: true