Commit Graph

88 Commits

Author SHA1 Message Date
Philipp Wolfer
2fd987c0e1 Upgrade to PyInstaller 4.3 2021-04-30 11:43:38 +02:00
Philipp Wolfer
cfa4d78183 PICARD-2144: Fix automatic dark mode detection on macOS
Use a custom build of PyInstaller. For the resulting binary macOS now assumes that it does support dark mode.
2021-03-18 09:51:29 +01:00
Philipp Wolfer
cf8325faff Python 3.6 is now the minimum supported version 2021-03-16 16:41:50 +01:00
Philipp Wolfer
db16283a1c CI: Fixed Github release task 2021-03-02 14:40:35 +01:00
Philipp Wolfer
854a36407d PICARD-2088: Raise PyQt5 dependency to >= 5.10 2021-02-15 15:12:25 +01:00
Philipp Wolfer
5bee7281d0 Fix CI tests for python-libdiscid
python-libdiscid 2.0 no longer supports Python 3.5, skip the test with this version
2021-02-11 16:48:23 +01:00
Philipp Wolfer
293c2c730f macos: build with Python 3.9.1 2020-12-26 15:30:13 +01:00
Philipp Wolfer
8d8e8c186c Create separate builds for macOS 10.12+ and 10.14+ 2020-12-26 15:30:12 +01:00
Philipp Wolfer
95878828e0 Revert "Build with Python 3.8 on Windows"
This reverts commit e16274a3f7.
2020-12-15 20:03:27 +01:00
Philipp Wolfer
e16274a3f7 Build with Python 3.8 on Windows 2020-11-18 19:23:06 +01:00
Philipp Wolfer
0af7e5685e Prepare PyPI code signing only for release builds 2020-11-03 08:39:06 +01:00
Philipp Wolfer
e3880091cd Sign Python bdist packages 2020-11-03 08:30:35 +01:00
Philipp Wolfer
edc3cfddee Run Python package builds always, but only upload on release 2020-11-03 08:05:50 +01:00
Philipp Wolfer
6e225c886f PICARD-1999: Build binary distributions for PyPI on Github Actions 2020-10-30 06:17:18 +01:00
Philipp Wolfer
c4e2087431 Fix CI package error if macOS codesigning was skipped 2020-10-29 09:18:41 +01:00
Philipp Wolfer
02e0a505e4 Run CI tests on Python 3.9 also 2020-10-29 09:12:38 +01:00
Philipp Wolfer
3c105f136a Fixed syntax error in PyPi deploy script 2020-10-28 21:32:25 +01:00
Philipp Wolfer
2477a9892c Sign sdist files on pip upload 2020-10-28 18:04:06 +01:00
Philipp Wolfer
1814a02313 Update macOS distribution certificate
Update the mechanism to work exactly as we do it for the Windows code signing.
2020-10-28 14:23:45 +01:00
Philipp Wolfer
9916267fb9 Disable CodeQL for C code for now 2020-10-09 11:20:16 +02:00
Philipp Wolfer
c9bba31019 Create codeql-analysis.yml 2020-10-09 10:56:32 +02:00
Philipp Wolfer
6816fd8b94 GHA: Migrate to using enviroment files
set-env and add-path are deprecated, see https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-07 10:53:31 +02:00
Philipp Wolfer
0d3557189b Fix CI packaging 2020-09-25 10:16:27 +02:00
Philipp Wolfer
f4637f739d CI: Dynamically set Python bin path from PYTHON_VERSION for macOS 2020-09-25 09:37:47 +02:00
Philipp Wolfer
a52f97b133 PICARD-1935: Include tests in sdist
Verify in CI the sdist package is complete and passes tests.
2020-09-04 13:38:27 +02:00
Philipp Wolfer
4078f8a17e GHA: Use specific images for release builds 2020-08-21 10:56:06 +02:00
Philipp Wolfer
ab679c0d60 Fix tests 2020-07-05 19:14:16 +02:00
Philipp Wolfer
2e10534caf Use isort<5 2020-07-05 19:03:13 +02:00
Philipp Wolfer
d7bfbe9ad6 ci: Additionally test against PyQt 5.14.2 2020-06-18 10:30:30 +02:00
Philipp Wolfer
fe3d27c699 PICARD-1807: Run CI tests with both python-discid and python-libdiscid 2020-05-13 19:12:16 +02:00
Philipp Wolfer
909ea667b8 Check code style of tests with flake8 2020-05-13 11:03:13 +02:00
Philipp Wolfer
4138db5430 ci: fixed macOS builds not finding msgfmt 2020-04-30 15:12:55 +02:00
Philipp Wolfer
b50b14a093 Upgrade to fpcalc 1.5.0 for Windows and macOS builds 2020-04-17 22:00:29 +02:00
Philipp Wolfer
cc49ac34a4 CI: Add fallback to git describe to work with no tags available 2020-02-27 07:58:14 +01:00
Philipp Wolfer
bfb467588c CI: Do not run archive artifacts for macOS always() 2020-02-25 17:37:50 +01:00
Philipp Wolfer
1948f0c116 Fix build numbers for CI builds
Count the number of commits on the master branch since last release tag. This reduces the size and avoids issues for building the patch version for the Windows store app, since this is limited to a maximum of 65535.
2020-02-24 13:46:57 +00:00
Philipp Wolfer
b03e4576b2 CI: Fix build numbers for macOS and Windows packages
Fetch the entire git history for macOS and Windows packaging builds to create a build number. This is especially important for the Windows store builds.
2020-02-24 10:28:01 +01:00
Laurent Monin
9dfc09b4c4 Bump github actions checkout to v2
It seems much less prone to failures
2020-02-21 19:35:38 +00:00
Philipp Wolfer
b029eb8374 PICARD-1745: Set MACOSX_DEPLOYMENT_TARGET to 10.12
Attempt to build a libdiscid compatible with macOS 10.12
2020-02-17 23:55:11 +01:00
Philipp Wolfer
58ffb8bb1c Generate SHA256 checksums for release packages 2020-02-11 16:48:33 +01:00
Philipp Wolfer
f090c06572 CI: Also run package workflow when tests have changed
This provides proper builds after fixing tests.
2020-02-06 19:55:42 +01:00
Philipp Wolfer
f3aa0c1b08 PICARD-1733: Use official Python binaries on macOS
Fixes issues with builds not running on macOS 10.12 as the Python available on GHA is working only with macOS 10.13 and later.
2020-02-06 19:55:42 +01:00
Philipp Wolfer
78e8115a5d CI: Do not upload artifact if signed Windows app was not built 2020-01-30 09:04:12 +01:00
Philipp Wolfer
25c1f874c9 CI: Use a single package workflow to build and release
Allows creating the release in one go, avoids release data getting overwritten by different jobs
2020-01-29 09:40:01 +01:00
Philipp Wolfer
a8da256764 CI: Use build matrix to simplify Windows build setup 2020-01-29 09:08:56 +01:00
Philipp Wolfer
84e6322bc3 CI: Split building Windows packages into separate jobs
Upload separate artifacts and build in parallel.
2020-01-29 08:31:26 +01:00
Philipp Wolfer
d552063fdf Use updated builds of fpcalc for windows
For consistency with macOS version. Using updated builds with latest FFmpeg
2020-01-21 18:40:17 +01:00
Philipp Wolfer
e82767e0d8 PICARD-1707: Download updated macOS fpcalc build
Using a macOS fpcalc build from custom repository until an official new version build with newer macOS SDK is available.
2020-01-21 14:08:53 +01:00
Philipp Wolfer
1175987788 GHA: Run apt-get update before apt-get install
Otherwise apt-get install might fail
2020-01-20 22:18:54 +01:00
Philipp Wolfer
af5440d516 Move changelog-for-version to separate scripts/tools folder 2020-01-14 22:36:11 +01:00