-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
59 lines (48 loc) · 1.47 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
version: '1.2.{build}'
os: Visual Studio 2022
configuration: Release
platform:
- x64
branches:
only:
- master
environment:
MyProjectDir: C:\projects\genshinimpact-kongyingmap-xboxgamebar
ProjectName: 空荧酒馆-悬浮窗
ProJectExeName: 空荧酒馆-悬浮窗
skip_tags: true
install:
- ps: $env:TIME_STRING=(get-date -UFormat "%Y%m%d%a").ToString()
before_build:
- dir %MyProjectDir%
#- dir %OpenCvDir%
build_script:
- chcp 65001
- MSBuild
after_build:
- echo %APPVEYOR_BUILD_VERSION% >version.tag
- 7z a %ProjectName%.7z %MyProjectDir%\x64\build\*
- appveyor PushArtifact version.tag
- appveyor PushArtifact %ProjectName%.7z
#artifacts:
#- path: build/Release
#artifacts path name must be appveyor API
deploy:
- provider: GitHub
description: '$(APPVEYOR_PROJECT_SLUG): cvAutoTrack Dll $(APPVEYOR_BUILD_VERSION)'
auth_token:
secure: G/Fzf0bGIhqqt+XvsC5AXrZVNs3atGU7XCzJxqiUZEwOxoZrjxk87ENI/OitnXCo
draft: false
tag: $(APPVEYOR_BUILD_VERSION)
force_update: true
on:
APPVEYOR_REPO_TAG: false
notifications:
- provider: Email
to:
subject: '{{status}}: {{projectName}} {{buildVersion}}' # optional
message: "Commit #{{commitId}} by {{commitAuthor}} on {{commitDate}}: {{commitMessage}}" # optional
on_build_success: true
on_build_failure: false
on_build_status_changed: false