-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
67 lines (52 loc) · 2.03 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
environment:
matrix:
- PYTHON: "C:\\Python312-x64"
PYTHON_VERSION: "3.12.8"
PYTHON_ARCH: "64"
ISS_FILE_PATH: '"C:\\Program Files (x86)\\Inno Setup 6\\ISCC.exe"'
platform: x64
configuration: Release
# the first failed job cancels other jobs and fails entire build
matrix:
fast_finish: true
# Not a project with an msbuild file, build done at install.
build: None
init:
- cmd: ver
- cmd: ECHO Processor architecture - %PROCESSOR_ARCHITECTURE%
- cmd: wmic OS get OSArchitecture
# As AppVeyor has multiple python install, check which one uses by default
- cmd: ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
- cmd: python --version
- cmd: python -c "import struct; print(struct.calcsize('P') * 8)"
- cmd: python -c "import sys; print(sys.executable)"
# Set the relevant Python and pip location to the path
- cmd: set PATH=%PYTHON%;%PYTHON%\scripts;%PATH%
- cmd: ECHO Path - %PATH%
# Verify the new default python
- cmd: python --version
- cmd: python -c "import struct; print(struct.calcsize('P') * 8)"
- cmd: python -c "import sys; print(sys.executable)"
- cmd: pip3 --version
- ps: rm -r $env:LOCALAPPDATA\pip\cache\selfcheck\
- ps: python.exe -m pip install --upgrade pip
# Check out installed python packages
- cmd: pip3 freeze
install:
- ps: pip3 install -r requirements.txt
- cmd: pip3 install -U pyinstaller
- cmd: pyinstaller windows_build.spec
# Remove unnecessary items
- cmd: rmdir /s /q dist\main\pyqtgraph\icons
# Make installer file
- cmd: '%ISS_FILE_PATH% Distribution\Windows\eqfreq_AppVeyor.iss'
artifacts:
- path: Distribution\Windows\output\*.exe
version: 0.1.8-build-{build}
pull_requests:
do_not_increment_build_number: true
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/5d80b854-5feb-4128-ac4c-1ef9a083c0b1/Integrations/AppVeyor?ProjectSlug=EarQuiz_Frequencies&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
authorization:
secure: B6b9qk+BJzltehPQLaWiOP8hu5cQEbuHWCkXGFC4xetttaB0dXSbRD+dGt1UTl7LTfJXlIhB9S0FKKjwOLF+Rg==