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
Philipp Wolfer
d4c92aa9be
Windows builds: Calculate commit count only once
2020-01-14 22:27:15 +01:00
Philipp Wolfer
a5b85dfc47
PICARD-1465: For Windows store version combine patch and build number
...
The Windows store allows only a 3 part version number (build number part is reserved for internal store use), but still requires increasing versions on each publication.
In order to be able to upload the same release version multiple times, combine the patch number and build number into a single integer with "patch * 100000 + build".
E.g. version 2.3.1 with build number 6858 would get a store version of 2.3.106858
2020-01-14 21:20:19 +01:00
Philipp Wolfer
4059a0c3d0
PICARD-1465: Adjust appxmanifest for store requirements
2020-01-14 20:26:22 +01:00
Philipp Wolfer
be406b1f74
PICARD-1465: Set build number for Windows app to 0
...
Otherwise the msix package cannot be uploaded to the Windows store, since the build number is reserved for store usage.
2020-01-14 19:51:20 +01:00
Philipp Wolfer
51404a9cbb
Revert "Use PyInstaller 3.5 for macOS builds"
...
This reverts commit c336ba778c .
2020-01-13 09:00:04 +01:00
Philipp Wolfer
c336ba778c
Use PyInstaller 3.5 for macOS builds
...
PyInstaller 3.6 is causing runtime errors on start.
2020-01-13 08:39:08 +01:00
Philipp Wolfer
172df0a831
Do not use virtualenv on macOS builds
...
This fixes recent build errors and unifies the bild scripts with the Windows version.
2020-01-13 08:24:05 +01:00
Philipp Wolfer
f3b06786f1
CI: Test with PyQt 5.13.2 (in addition to current 5.14.x)
2020-01-07 15:52:09 +01:00
Philipp Wolfer
aac11effdc
GHA: Run tests with older dependencies
2019-12-17 17:35:15 +01:00
Philipp Wolfer
f45933b099
GHA: Run tests before macOS and Windows builds
2019-12-17 00:37:53 +01:00
Philipp Wolfer
2636228853
GHA: Continue preparing release even if changelog extraction fails
2019-12-16 21:12:14 +01:00
Philipp Wolfer
1b1868ab62
PICARD-1596: Use Github Actions to publish to PyPI
2019-12-14 01:04:17 +01:00