Commit Graph

193 Commits

Author SHA1 Message Date
Laurent Monin
a26312cd91 Python 3.9 isn't available anymore with macos-latest, stick to macos-12 2024-05-02 07:01:52 +02:00
dependabot[bot]
78c4b6a101 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 18:57:03 +02:00
Philipp Wolfer
0c0583f8e7 CI: Install gettext for Windows
Before that the gettext command shipping with git for Windows were used.
Since git 2.44.0 these are no longer bundled.

# Conflicts:
#	.github/workflows/package-pypi.yml
#	.github/workflows/package-windows.yml
2024-02-29 21:53:53 +01:00
Philipp Wolfer
27d665e1ee CI: Use Powershell Add-Content instead of Write-Output to append to files 2024-02-29 21:49:56 +01:00
Philipp Wolfer
4135885dac Re-enable WebP support
Only keep it disabled for the legacy macOS 10.12 builds since those
use an older Qt5 version.
2024-02-03 11:30:40 +01:00
Philipp Wolfer
0be87dabd1 CI: Fixed newline in Github release message 2024-01-28 22:32:40 +01:00
dependabot[bot]
aba1ecfc66 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 11:19:00 +01:00
Philipp Wolfer
b6ea65df63 Bump versions for Github actions upload-artifact, download-artifact and setup-python 2024-01-11 11:18:45 +01:00
Philipp Wolfer
29e120afb1 Disabled PyPI publishing "skip-existing" option again
It is recommended to have this disabled and in a normal workflow run
it is not needed.
2024-01-11 10:58:51 +01:00
Philipp Wolfer
1b22bba439 Fix PyPI publishing 2024-01-11 10:47:05 +01:00
Philipp Wolfer
bc67f437a4 Do PyPI deployment with Trusted Publisher Management
This eliminates the need to provide permanent access tokens for PyPI in
the CI and instead uses temporary tokens issued by OpenID Connect (OIDC).

This unifies Picard 2.x deployments with current master branch
2024-01-09 18:52:31 +01:00
Philipp Wolfer
5fa229ff34 CI: Run codacy without SARIF upload
Prevents issues with SARIF limit on codeql,
see https://github.com/github/codeql-action/issues/1488
2023-12-19 21:44:38 +01:00
Philipp Wolfer
dd2f4b17ff Add a note about official download locations to Github releases 2023-12-19 10:40:03 +01:00
Philipp Wolfer
c3f160b106 Exclude signed MSIX package from Github release
See also discussion at PICARD-2678
2023-12-19 07:06:27 +01:00
Philipp Wolfer
754029a413 Build with Python 3.12 stable version 2023-12-14 10:03:08 +01:00
dependabot[bot]
e336bbe9cd Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 15:49:25 +02:00
Philipp Wolfer
118f5f7b66 Build macOS and Windows packages with libdiscid 0.6.4 2023-09-22 14:49:21 +02:00
Philipp Wolfer
05d605d1d5 PICARD-2760: Use SignTool for all Windows code signing
This tool is more flexible then the than the Powershell commandlet and
unifies code signing between .exe and .appx packages.
2023-09-21 10:56:12 +02:00
Philipp Wolfer
bf2fb6832f Mark github releases as pre-release automatically 2023-09-13 08:48:08 +02:00
Philipp Wolfer
f3b565a46c macOS: Build with Python 3.11.5 2023-09-11 15:52:38 +02:00
Philipp Wolfer
f89288f16b Build with PyInstaller 5.13.2 2023-09-11 12:39:37 +02:00
Philipp Wolfer
1912420bb9 Run CI tests with Python 3.12.0-rc.1 2023-09-09 12:49:20 +02:00
Philipp Wolfer
9009771776 Restrict default permissions of Github Actions 2023-09-08 07:34:02 +02:00
Philipp Wolfer
6f46ebc367 PICARD-2746: Validate XDG desktop file in CI 2023-09-06 08:29:05 +02:00
Philipp Wolfer
1a83269872 CI: Ensure clean repository when building sdist packages 2023-09-06 00:12:42 +02:00
Philipp Wolfer
9971f0848e Build with official mutagen 1.47.0 release
Remove workaround of installing patched mutagen.
2023-09-03 18:48:46 +02:00
Philipp Wolfer
d752421b11 CI: Fixed check for Windows codesigning 2023-08-15 11:26:07 +02:00
Philipp Wolfer
3b20cb2f2d Run PyPI deployment only if password is given 2023-08-15 00:11:57 +02:00
Philipp Wolfer
80831bbf19 PICARD-2691: Provide signed source files in Github release 2023-08-15 00:11:57 +02:00
Philipp Wolfer
877a69200b Avoid github actions validation warnings 2023-08-14 21:58:42 +02:00
Philipp Wolfer
e073a5b785 CI: Consistent naming of codesign environment variables
Use P12 instead of PFX in variable names
2023-07-25 15:59:45 +02:00
Philipp Wolfer
9ca6cf9364 CI: Remove openssl install for macOS PyPI packaging
No longer needed since the code signing got removed.
This solves build issues on latest Github Actions images.
2023-07-20 08:09:37 +02:00
Philipp Wolfer
e41b0d5338 Revert validating with appstream-util again
The appstreamcli currently available on Gitlab CI ubuntu-latest does not
support recommends > internet.
2023-06-16 10:35:36 +02:00
Philipp Wolfer
d22bf0d445 Fix appstream XML and use appstreamcli for validation 2023-06-16 10:35:36 +02:00
Philipp Wolfer
7ee078852a Use notarytool for macOS notarization
Notarization with the altool has been deprecated, see
https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool
2023-06-14 23:33:15 +02:00
Philipp Wolfer
580617b5e7 Build with PyInstaller 5.12 2023-06-11 17:44:27 +02:00
Philipp Wolfer
866ef71dce Skip locale test if locales are not built, build locales in CI tests 2023-06-09 09:19:07 +02:00
Philipp Wolfer
b0a6cbf352 Remove PGP code signing for PyPI release
PyPI stopped supporting PGP code signing, see
https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-05-31 14:48:23 +02:00
Philipp Wolfer
0d3365627d PICARD-2624: Use mutagen 1.46 with IFF file patch for macOS / Windows packages
Fixes writing IFF files with truncated trailing null bytes.
2023-05-31 09:21:24 +02:00
Philipp Wolfer
047255c7c0 Build with PyInstaller 5.11 2023-05-14 11:25:38 +02:00
Philipp Wolfer
55c1b2c200 Upgrade to PyInstaller 5.10.1 2023-04-18 09:27:05 +02:00
Philipp Wolfer
db3ff8969a Use binary builds of libdiscid for macOS 2023-02-28 22:05:10 +01:00
Philipp Wolfer
c4c66df644 Package libdiscid 0.6.3 for Windows and macOS builds 2023-02-28 22:05:10 +01:00
Philipp Wolfer
4996c9ee1b CI validate-appstream: Properly set Python version to use 2023-01-06 08:12:45 +01:00
Philipp Wolfer
051d26facc CI: Use actions/setup-python@v4 2023-01-06 08:08:20 +01:00
Philipp Wolfer
bb1014bc19 Use different Python versions for different macOS builds 2022-12-21 10:20:54 +01:00
Philipp Wolfer
0a9b259e43 Build macOS packages with latest Python 3.11 2022-12-20 21:49:21 +01:00
Philipp Wolfer
49b05370ac Fixed macOS Python checksum 2022-12-20 21:45:35 +01:00
Philipp Wolfer
84705b0305 macOS build with Python 3.9.13 2022-12-20 21:44:16 +01:00
Philipp Wolfer
1233d45336 PICARD-2192: Build macOS packages with fpcalc universal
Allows native ARM support for fpcalc. Partially addresses PICARD-2192
2022-12-16 18:31:14 +01:00