Build AppVeyor CI binaries on Python 3.8, enable 32-bit binaries

Python 3.8 is the last release of Python to support Windows 7,
which I want to keep supporting for the time being.
pull/381/head
nyanpasu64 2021-06-13 20:48:48 -07:00
rodzic d5bc310938
commit 7fec7bae31
2 zmienionych plików z 7 dodań i 6 usunięć

Wyświetl plik

@ -6,6 +6,8 @@
- Fix longstanding crash when prefs.yaml is corrupted, reset settings instead (#377) - Fix longstanding crash when prefs.yaml is corrupted, reset settings instead (#377)
- Atomically save prefs.yaml to prevent file corruption (#377) - Atomically save prefs.yaml to prevent file corruption (#377)
- Fix issue where foobar2000 WAV files fail with message "ValueError: Incomplete wav chunk." (#379) - Fix issue where foobar2000 WAV files fail with message "ValueError: Incomplete wav chunk." (#379)
- Build Win32 binaries as well as Win64 (#381)
- Build official Win32/Win64 binaries on Python 3.8 (the last release to support Windows 7) (#381)
## 0.7.0 ## 0.7.0

Wyświetl plik

@ -8,15 +8,15 @@ branches:
only: only:
- master - master
image: Visual Studio 2017 image: Visual Studio 2019
shallow_clone: true shallow_clone: true
environment: environment:
matrix: matrix:
# For Python versions available on Appveyor, see # For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/ or # https://www.appveyor.com/docs/windows-images-software/ or
# https://www.appveyor.com/docs/linux-images-software/ # https://www.appveyor.com/docs/linux-images-software/
- pydir: 'C:\Python36' - pydir: 'C:\Python38'
- pydir: 'C:\Python37-x64' - pydir: 'C:\Python38-x64'
global: global:
py: '%pydir%\python.exe' py: '%pydir%\python.exe'
APPVEYOR_SAVE_CACHE_ON_ERROR: true APPVEYOR_SAVE_CACHE_ON_ERROR: true
@ -48,9 +48,8 @@ test_script:
- 'poetry run codecov' - 'poetry run codecov'
after_test: after_test:
- 'if not "%pydir%"=="C:\Python37-x64" appveyor exit' # Run 32-bit PyInstaller to make CI complete faster.
# Running pyinstaller is much faster on x64 I think, # pyinstaller used to get stuck for minutes on 32-bit builds, but it no longer happens.
# but the resulting files are 64-bit only.
- 'poetry build' - 'poetry build'
- 'poetry run pyinstaller corrscope.spec -y' - 'poetry run pyinstaller corrscope.spec -y'