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
Philipp Wolfer
e07c6a99c2
Github Actions: Cache libdiscid for macOS builds
2019-12-02 20:30:10 +01:00
Philipp Wolfer
fc1ed6671c
Merge pull request #1385 from phw/gha-pr
...
Github Actions: Run on pull requests
2019-12-02 14:09:38 +01:00
Philipp Wolfer
0e052a95dd
GHA: Do not run macOS packaging on changes to changelog-for-version.py
2019-12-02 14:08:40 +01:00
Philipp Wolfer
d8d612e29f
Update Github release from changelog
2019-12-02 13:55:05 +01:00
Philipp Wolfer
5ea1f884b1
Github Actions: Sign code on Windows only if secrets are available
2019-12-02 13:38:10 +01:00
Philipp Wolfer
be9c91739b
Github Actions: Fixed triggering Win / Mac releases on tag push
2019-12-02 13:38:10 +01:00
Philipp Wolfer
de7aad29e3
Github Actions: Run packaging tasks on pull requests
2019-12-02 13:38:10 +01:00
Philipp Wolfer
34dfc31ad1
Github Actions: Run on pull requests
2019-12-02 13:38:10 +01:00
Philipp Wolfer
1fd305c9fe
Github Actions: Do not trigger builds on tag / branch create
...
Limiting this to specific tags / branches seems unsupported, also it seems that tag pushes still trigger the build.
2019-11-29 07:43:47 +01:00
Philipp Wolfer
39511dca00
Github Actions: Fixed triggering macOS builds on packaging script changes
2019-11-28 12:43:32 +01:00
Philipp Wolfer
af68e3fb29
Github Actions: Run picard -V after pip install test
2019-11-28 08:09:08 +01:00
Philipp Wolfer
d4f4ac0f8f
Github Actions: Run test suite on all pushes
2019-11-27 10:10:33 +01:00
Philipp Wolfer
77ca6a7bc5
Github Actions: Ensure win / mac builds are triggered for release tags
2019-11-27 10:09:52 +01:00
Philipp Wolfer
89d6097125
Github Actions: Run tests even if code style validation fails
...
The test suite will still fail, but we get all issues reported instead of just code style issues.
2019-11-27 08:57:14 +01:00
Philipp Wolfer
a4c123bc25
Github Actions: Limit paths for which to run tests / packaging
2019-11-27 07:58:29 +01:00
Philipp Wolfer
c4f9ced825
Github Actions: Test clean pip install from source
2019-11-26 16:41:15 +01:00
Philipp Wolfer
52c6632354
Github Actions: Setup macOS code signing
2019-11-26 16:41:15 +01:00
Philipp Wolfer
23759d8818
Github Actions: Submit code coverage reports to Codacy
2019-11-26 16:41:15 +01:00
Philipp Wolfer
a24e84f3bd
Github Actions: Add git commit hash to version for non-release builds
2019-11-26 16:41:14 +01:00
Philipp Wolfer
7827b1bf16
Github Actions: Use Get-PfxCertificate to open code sign certificate
...
Import-PfxCertificate is not available on Github Actions.
2019-11-26 16:41:14 +01:00
Philipp Wolfer
05bcd89b0e
Github Actions: Windows code signing
2019-11-26 16:41:14 +01:00
Philipp Wolfer
69af7e326d
Github Actions: Upload artifacts to Github releases
2019-11-26 16:41:14 +01:00
Philipp Wolfer
c43020973d
Github Actions: Upload build artifacts
2019-11-26 16:41:14 +01:00
Philipp Wolfer
e2e3c1d7cd
Github Actions: Package Windows app
2019-11-26 16:41:14 +01:00
Philipp Wolfer
1ce769983f
Github Actions: Package macOS app
2019-11-26 16:41:14 +01:00