This repository has been archived by the owner on Jun 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
70 lines (61 loc) · 2.01 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
# For appveyor.yml example : https://www.appveyor.com/docs/appveyor-yml/
# For appveyor.yml validation: https://ci.appveyor.com/tools/validate-yaml
# Build environment: https://www.appveyor.com/docs/build-environment/
# clone entire repository history if not defined
clone_depth: 50
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: true
# Skipping commits with particular message or from specific user
skip_commits:
message: /no-ci/ # Regex for matching commit message
# This is the default. Making it explicit here.
clone_folder: c:\projects
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# Check build environment for details. Should have most recent python/ruby vers
image: Visual Studio 2017
# This is not an MSBuild, so turn it off
build: off
# branches to build
branches:
only:
# Only match tagged versions that look like v0.12.34
- /^v\d+\.\d+\.\d+$/
# this is how to allow failing jobs in the matrix
matrix:
allow_failures:
- platform: x64
# scripts to run before build
install:
- C:\Python36\python.exe -m pip install -r requirements.txt
- C:\Python36\Scripts\pyinstaller.exe -y merlink.spec
build_script:
- ps: C:\Python36\python.exe .\pkg\make_packages.py
# TESTS (add these at some point)
# before_test:
# test:
# after_test:
artifacts:
# pushing a single file with "Deployment name" specified
- path: pkg\merlink*.exe
name: MerLink
type: exe
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(APPVEYOR_REPO_TAG_NAME)
description: 'Cross-platform VPN editor'
provider: GitHub
auth_token:
# your encrypted token from GitHub
secure: WUQSo/s4J6CS1QhSfeaURLvdZkvfj6KrPZOU9yWdnlTAr6Rp7/6VmP3gCGB2VPws
draft: false
prerelease: true
on:
appveyor_repo_tag: true # deploy on tag push only
notifications:
- provider: Email
to:
subject: 'Build {{status}}' # optional
message: "{{message}}, {{commitId}}, ..." # optional