-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.appveyor.yml
54 lines (42 loc) · 5.93 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
image: Visual Studio 2017
version: '0.5.{build}'
configuration:
- Debug
- Release
platform: x86
environment:
matrix:
# - TOOLCHAIN: msvc14
- TOOLCHAIN: msvc15
private_key:
secure: bbJj6tQ5tSjWANlD5+QbYmzzX6qG+ZRDzARpEim/Ij/p6BT/UVtzVxuEoaedWtrfGesXwXqy9o1kVt5HLbN10/87E4jin7VErDbculYp0cf2ECa36ftdKtLW1nQ7h+/2r9qomFYRVIqttGVWhw7Le9Sqzp0QX/18AypRWJP+AVpM7zNt9Wqk1tOZJiiWq56R4AxhtaMuoTSaULxdI//PTBkavVv6DeO7RUI1jM7ZhkIp9IBdZmvzgqymcZ4QLIAYD9Q5KpXb2Fz4KoFIYbfiQ5RnD6nhUzvyS1TbO6MdFDYgjSJaUopYsvOl+mxZUI3hHimUFAgWvHqPrP37ay4FkfEQ4Dbr+b1VAIBHnV9c1smiTuhnC+v/JMfLkWVXwJJNhRQ27SoEPRsQ4ekukkA3DoymGJd3JJNn0SIJBKgSIWVcX4turZ0SgkN5+MEshFQ3CNa9m56dKtycP8vTwkfDwQp4hngUhH36b3Iy+NTVxjdjwL+a1rHALwaMb0GwzHr7A7oe+Er5/AWYNxNvj5wVhdjyrvuCEUHB+LUBDcKjrQZV5JBA282EcRjBeYC7Hz2mdRszYcpkhSq11zytPi7Sng3CQJpig+Uk9RS17RSzDad4mFLykv7QYq/dKJO869JPn7nqX2nVchLBs6+YuG9KuYvNKaM1POqV8hxtd3xA6fRuT/ZaPBv8cQF6dPkAHmX7xRbmg4/6JOjJcWYzq7EoOnVAixmX+Pw+cKp5POdAsKc27Yw3bjnzB9gGTtmphHq4uDSac3Sq9bzFip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LaGp7hjISzK2vBOraA0G6JuSLCT2j+gxuHbSGg3StYIgEpSAKoMPEreaPpl+zUoiEEaUadKGaJMg4Yd+XDmuXfHIV6bCjQjDU2ljD+elc2onX4iMAFxKJxuWmFNUWfh2T7/rT2kSwqiI3s0CeLLGD4elLt04ZMYfun93AoWSCaZVjkONhk8SG1FiA4nn6USfqGPCTvguyyI6OLUMrtq322qa2/BannS61JWcU7bYrEjOCLNJGkBUQ4c3ggVWdowhEnU364/mFcdnqcsV/2cmZYkuQf4/UFjc4Fd7sHhQ8IwzMgWFVOyqN/K9ceCWGHhRzpE4VT+O4nuUUZ9C40yTMI2nHCD0ZGQhgiWKxCMkfHgxyI8kC8+V625uklQqHEWmWxZdB+uijJHmz00G6vQQqDZFf6k31IeDatGCzC4KHTZFZ1b587FcjCfGWc7/G5KdxA8rex7AS+o9ESMEY7lpg9MqNZ/VtW6K2kXYnMVlhwiJrAx6dyC
install:
- call CI\appveyor\install.bat %TOOLCHAIN% %PLATFORM%
- ps: $fileContent = "-----BEGIN OPENSSH PRIVATE KEY-----`n"
- ps: $fileContent += $env:private_key.Replace(' ', "`n")
- ps: $fileContent += "`n-----END OPENSSH PRIVATE KEY-----`n"
- ps: Set-Content $env:userprofile\.ssh\id_rsa $fileContent
build_script:
- cd build
- set TDE2_SKIP_ERROR_WAIT_USER_RESPONSE=1 # Skip pause when error's happened
- call prepare_build_generic_win.bat %CMAKE_CONFIGURE_FLAGS% %CONFIGURATION%
test_script:
- ctest -C %CONFIGURATION% --output-on-failure
artifacts:
- path: build/TDEngine2_SDK.zip
name: TDEngine2_SDK
after_build:
- cmd: 7z a TDEngine2_SDK.zip %APPVEYOR_BUILD_FOLDER%\bin\%CONFIGURATION%\ %APPVEYOR_BUILD_FOLDER%\Resources %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\LICENSE %APPVEYOR_BUILD_FOLDER%\CHANGELOG.md %APPVEYOR_BUILD_FOLDER%\TDEngine2\
skip_tags: true
deploy:
release: TDEngine2_SDK-v$(appveyor_build_version)-Win32
description: ''
provider: GitHub
auth_token:
secure: GMrmiUbidhqUQJE6M8XWztU+5GhVHZyHkECQlzwYsnP2jB1ZxDxcMHnOq7aEa2vE
artifact: TDEngine2_SDK
draft: false
prerelease: false
on:
branch: master # release from master branch only
configuration: Release