-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (33 loc) · 1.12 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
version: 1.0.{build}
environment:
matrix:
- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
install:
# Install the build dependencies of the project. If some dependencies contain
# compiled extensions and are not provided as pre-built wheel packages,
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
- "pip install -r requirements.txt"
build_script:
# Build the compiled extension
- "pyinstaller --onefile --name hackerfinder main.py"
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\hackerfinder.exe
deploy:
release: HackerFinder-v$(appveyor_build_version)
description: ''
provider: GitHub
auth_token:
secure: hO8+P5Y6D6CC1jg9M05Gt1Vx48Krvig7ddBOgZFtxnLnNhGm1+GUiLyhoW2DdwO4
artifact: dist\hackerfinder.exe
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only