Commit Graph

110 Commits

Author SHA1 Message Date
Philipp Wolfer
2c21cc7898 Fixed linting issues in shell script reported by codacy. 2019-11-29 17:01:36 +01:00
Philipp Wolfer
4eb5b6084a macOS notarization: Print success message returned by notarization service 2019-11-28 21:12:33 +01:00
Philipp Wolfer
5ecf7b7320 macOS notarization: Faster polling, improved info output 2019-11-28 20:50:09 +01:00
Philipp Wolfer
4c7a93e7e2 Avoid spaces in filenames for binary builds 2019-11-26 16:41:15 +01:00
Philipp Wolfer
bb809846e6 macos-package-app: Run patch_version only on Travis
This is handled separately for Github Actions
2019-11-26 16:41:15 +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
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
Philipp Wolfer
ce41927f00 PICARD-1675: Disable autoupdate works for pyinstaller and local builds
Generate tagger.py from tagger.py.in
2019-11-21 19:16:18 +01:00
Philipp Wolfer
05c695f8de Removed misleading output from build script 2019-11-21 14:33:45 +01:00
Philipp Wolfer
c3477bc326 PICARD-1669: Use "unplated" taskbar icon for MSIX package
This will Windows use the unmodified Picard icon in the taskbar instead of automatically adding a padding and background. This does not affect the appearance of the start menu tiles.

See https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-manual-conversion#optional-add-target-based-unplated-assets
2019-11-19 07:44:52 +01:00
Philipp Wolfer
f4e58fe24c win builds: Only sign MSIX package if certificate was supplied 2019-11-17 11:02:42 +01:00
Philipp Wolfer
fc6c052fbb appveyor: build improvements
- ensure failing build if tests fail
- always build msix, even if unsigned
2019-11-16 21:43:54 +01:00
Philipp Wolfer
16b34de7de win builds: split packaging into separate scripts
Allows building installer, portable app and Windows 10 app package separately.
2019-11-15 19:44:41 +01:00
Philipp Wolfer
210d22d509 win builds: use appveyor build number for versioning 2019-11-15 17:45:02 +01:00
Philipp Wolfer
b247766614 PICARD-1669: Build Win 10 app package 2019-11-15 17:44:50 +01:00
Philipp Wolfer
95decbabc1 PICARD-1467: Include building portable app in win packagings script
Simplifies error and certificate handling.
2019-11-15 16:35:48 +01:00
Philipp Wolfer
8483febac6 PICARD-1467: Codesign Windows Picard binaries 2019-11-15 16:35:48 +01:00
Philipp Wolfer
81c67b4aff Revert "macOS build: Replace + sign in DMG file name with underscore"
This reverts commit 5767a21d0a.
2019-11-14 14:51:41 +01:00
Philipp Wolfer
57b06c9272 macOS build: Ensure keychain stays unlocked during build 2019-11-13 19:53:28 +01:00
Philipp Wolfer
5767a21d0a macOS build: Replace + sign in DMG file name with underscore 2019-11-13 19:45:22 +01:00
Philipp Wolfer
f943876d32 travisci: fix codesign hanging on macOS 2019-11-13 12:35:57 +01:00
Philipp Wolfer
303959825e macOS packaging: Output about starting upload 2019-11-13 11:23:11 +01:00
Philipp Wolfer
7fddcc689c Generate valid version number with setup.py patch_version
The extra version information must be a valid local version identifier (see https://www.python.org/dev/peps/pep-0440/#local-version-identifiers)
2019-11-12 21:16:33 +01:00
Philipp Wolfer
a65b756480 ci: Moved windows packaging code into PowerShell script 2019-11-12 21:16:33 +01:00
Philipp Wolfer
8e190f13c9 Unified naming of macOS packaging scripts 2019-11-10 14:24:19 +01:00
Philipp Wolfer
bd05d10b45 PICARD-1631: Notarize macOS app 2019-11-10 14:24:19 +01:00
Philipp Wolfer
46075eb212 travisci: Fixed printing download path of macOS package 2019-11-08 20:58:52 +01:00
Philipp Wolfer
cb8c763ca1 Move macOS library location fix to pyinstaller hook 2019-11-06 17:03:41 +01:00
Philipp Wolfer
6cafb6f1ff Renamed pyinstaller hook files 2019-11-06 17:03:41 +01:00
Philipp Wolfer
902d480073 travis: add macOS version to image name
Also deploy all images to Github. This will allow to easily provide specific builds for different OS versions.
2019-11-06 08:24:25 +01:00
Philipp Wolfer
0c6ee6357f PICARD-1653: Enabled macOS hardened runtime only for builds on macOS >= 10.14 2019-11-05 14:59:03 +01:00
Philipp Wolfer
97331ce7bd PICARD-1653: Enable macOS "Hardened Runtime" 2019-11-05 12:25:16 +01:00
Philipp Wolfer
de3a6f46b4 Restructured the scripts folder 2019-11-05 08:44:27 +01:00
Philipp Wolfer
ef56dcf0a0 Revert "PICARD-1653: Enable macOS "Hardened Runtime""
This reverts commit a2a27d5d60.
2019-10-31 10:28:58 +01:00
Philipp Wolfer
a2a27d5d60 PICARD-1653: Enable macOS "Hardened Runtime" 2019-10-31 09:23:39 +01:00
Philipp Wolfer
ebfd17574a PICARD-118: Set cache location to portable config dir 2019-10-25 20:21:27 +02:00
Philipp Wolfer
c55034edbf PICARD-118: Allow building a portable version of Picard
The portable version is build in the form of a PyInstaller onefile build which stores config and plugin data next to the executable location.
2019-10-25 20:21:26 +02:00
Philipp Wolfer
2dcf546fc5 Move Windows AttachConsole handling to PyInstaller launch hook
For one this is only needed on Windows when running as GUI app, not when running directly from console. Also this should happen as eraly as possible before anything else gets initialized.
2019-10-15 16:00:13 +02:00
Philipp Wolfer
64c4153801 Verify macOS app contains fpcalc 2019-10-01 16:31:36 +02:00
Philipp Wolfer
7c2f27d6b1 PICARD-1618: Verify app is built with astrcmp C on macOS 2019-10-01 16:31:36 +02:00
Philipp Wolfer
87471b53ab PICARD-1618: Include compiled astrcmp in macOS package 2019-10-01 14:22:31 +02:00
Philipp Wolfer
b0f0422ee4 Cleaned up macOS packaging scripts.
All dependency installation should be done in setup-osx.sh, limit package-osx.sh to the actual building. Also added some structure to setup-osx.sh.
2019-10-01 14:22:31 +02:00
Philipp Wolfer
53563309d1 travisci: urlencode blanks in macOS AWS URL 2019-09-27 13:48:26 +02:00
Philipp Wolfer
1cf46a9d20 travisci: Print macOS package upload location in log 2019-09-19 15:04:22 +02:00
Philipp Wolfer
a6a33142e0 travisci: Install awscli for macOS build upload 2019-09-19 07:48:13 +02:00
Philipp Wolfer
06fda4792d travisci: Upload macOS artifacts to S3 (#1290)
* travisci: Upload macOS artifacts to S3

* Test S3 upload without awscli upgrade
2019-09-19 00:02:55 +02:00
Philipp Wolfer
555f5a4e8e PICARD-1602: Removed CI sdist tests again 2019-09-18 11:54:57 +02:00
Philipp Wolfer
3206117ec7 PICARD-1601: In CI package sdist archive and run tests from it
Ensure we package for PyPI with all test dependencies.
2019-09-14 20:14:28 +02:00
Philipp Wolfer
5e05900e7e CI: Add a timeout for macOS package uploads 2019-09-11 08:44:36 +02:00