Commit graph

352 commits

Author SHA1 Message Date
derrod a9b5968552 CI: Add tag subject to Windows patch notes 2024-06-19 10:42:11 -04:00
derrod fc05ca601a CI: Update Windows patch creation bouf version 2024-06-19 10:42:11 -04:00
Ryan Foster 32b53ea936 CI: Fix Windows Patches action release notes generation
By not specifying a checkout ref, actions/checkout does a second
checkout when this action is invoked by the Publish workflow (release
event). When this happens, it checks out the commit object from the tag,
and git can no longer locate the annotated tag that contains the release
notes. This then causes the release notes to be just the commit message
and not the annotated tag message.

The sparkle-appcast action in general and this actioo when invoked via
the Dispatch workflow do not have this issue, and they both specify the
tag as the ref.
2024-06-19 10:37:11 -04:00
Ryan Foster 70307a5d25 CI: Add updateChannel to check-tag in Publish workflow
This was missing even though we try to set it later.
2024-06-13 13:28:04 -04:00
Ryan Foster 0ea90380b4 Revert "CI: Remove redundant checkout step in Windows Patches job"
This reverts commit 8fcdfb815f.

This checkout is not redundant. It is required so that the
windows-patches action files can actually be found.
2024-06-12 19:41:48 -04:00
Ryan Foster 8fcdfb815f CI: Remove redundant checkout step in Windows Patches job 2024-06-12 19:04:24 -04:00
derrod 5bc1d31a98 CI: Update windows signing workflow commit 2024-06-10 17:25:25 -04:00
derrod d2b05a6e0c CI: Update bouf release in Windows Signing action 2024-06-10 17:21:36 -04:00
derrod 30f174b8bb CI: Fix input variable name when getting Windows release notes 2024-06-08 13:25:17 -04:00
Ryan Foster dab4349e05 CI: Fix incorrect filenames in release creation
Follow-up to fb4d65875e.
2024-06-07 19:40:18 -04:00
derrod 6d3a645bbf CI: Restrict PVS-Studio analysis to obsproject repo 2024-06-07 16:09:19 -04:00
derrod 19b8557e80 CI: Ignore PVS-Studio's license close to expiry error code 2024-06-05 19:06:07 -04:00
derrod dff4dd9acf CI: Run PVS-Studio analysis on Windows 2024-06-04 18:37:44 -04:00
derrod 609ddd075e CI: Verify build attestation during patch generation 2024-05-28 13:47:37 -04:00
derrod dfc842bfc4 CI: Update signing workflow commit and permissions 2024-05-28 13:47:37 -04:00
derrod b5b457d7b0 CI: Attest signed Windows build 2024-05-28 13:45:42 -04:00
Ryan Foster c3c6c6c934 CI: Add additional log group to setup_ubuntu script
Add clear separation between the CEF setup and the apt/apt-get calls.
This makes it easier to see how much time is being spent on each task.
2024-05-16 14:58:46 -04:00
Ryan Foster b3ee2f89b9 CI: Add Ubuntu 24.04
Add a job matrix for the Ubuntu Build so that we can test builds on both
Ubuntu 22.04 and 24.04.
2024-05-16 14:34:08 -04:00
Ryan Foster ad63efd4b1 CI: Fix Windows Signing action commit hash 2024-05-02 17:24:16 -04:00
derrod 7968f567b1 CI: Add Windows Patches Action 2024-05-02 16:40:09 -04:00
derrod f7f06dea8d CI: Include Windows artifacts in draft release 2024-05-02 16:40:09 -04:00
derrod fe42236b1b CI: Update Windows signing workflow commit 2024-05-02 16:40:09 -04:00
derrod d7bf65a80b CI: Rename and update windows-signing action 2024-05-02 16:40:09 -04:00
Ryan Foster cfe9192572 CI: Update yuzutech/annotations-action to v0.5.0
This is one of the few remaining actions in this repo that was still
using node16. Updating will remove the associated warnings. Also, pin to
the v0.5.0 commit.
2024-04-24 13:55:44 -04:00
Ryan Foster 65462fdc1d CI: Update softprops/action-gh-release to v2.0.4
This is one of the few remaining actions in this repo that was still
using node16. Updating will remove the associated warnings.
2024-04-24 13:15:08 -04:00
Ryan Foster 3cbe864b33 CI: Fix generate-docs action
Effectively revert 743117f080.

This action began failing recently. Updating the Dockerfile per the
action's repo did not fix this. Unpinning Sphinx fixed it.
2024-04-17 20:20:43 -04:00
PatTheMav fb4d65875e CI: Update Linux build scripts to use CMake presets
Also adds source package generation and updates Cirrus CI script.
2024-04-13 23:48:38 -04:00
tytan652 0faa661f2b CI,build-aux: Add uthash on Linux 2024-04-07 10:01:25 +10:00
PatTheMav 19646f9434 CI: Update formatting actions to use git diff filter before formatting
Using git's diff-filter when checking for changed files allows the
actions to ignore any deleted files. Combined with explicitly passing
glob expressions for source files to git directly allows the command
to yield a list of changed files compatible with a given formatter
directly.
2024-04-02 19:38:09 -04:00
derrod c1f0f89cdf CI: Disable native NVENC for Ubuntu builds 2024-03-31 02:05:40 -07:00
PatTheMav fc9d3a208e CI: Fix JSON runtime error for language file uploads
The upload step in the job uses the output of two prior steps as its
condition. One of the jobs itself is a conditional job, so if the
primary condition is not met, the secondary output is not set and the
fromJSON call will fail.

Using a string comparison allows the check to still work as expected
(as the output will be an empty string otherwise)
2024-03-27 18:28:14 -04:00
PatTheMav dd3255815c CI: Update clang-format version to 17.0.3 2024-03-11 15:55:30 -04:00
PatTheMav ddeb89f71f CI: Limit format checks to changed files only
Before the CI checks for source code and CMake files would always
check the entire source code even if just a single files has been
changed.

With this update, the formatting script is enhanced to accept a list
of files (which is generated as a condition to run the script in the
first place) which ensures that a PR will only fail validation over
files it changed itself.
2024-03-09 15:45:36 -05:00
Ryan Foster 3726a021eb CI: Use Phased Group Rollout in Sparkle for stable tags 2024-03-09 14:23:41 -05:00
Ryan Foster 65edd99c64 CI: Use array to build options string for Sparkle 2024-03-09 14:23:41 -05:00
PatTheMav 629b60f328 CI: Fix broken pip install to use ephemeral virtual environment
Python 3.11 and later support a system-wide configuration setting that
marks the system packages as "externally managed" (e.g. to force using
apt packages instead of pip packages).

This breaks installation of the modules necessary to run the validators,
so use a virtual environment instead.
2024-02-27 14:50:02 -05:00
PatTheMav 193019d214 CI: Fix scheduled language file check running on same commit hash
When a prior scheduled nightly run is detected with the identical
commit hash, then the entire language file check should be skipped.

This adds the missing condition to skip the check for changed files
removing the unnecessary warning contained in the workflow results.
2024-02-26 17:31:22 -05:00
tytan652 409bd12db3 CI: Update Flatpak AppStream validation
Also add AppStream validation to Build Project workflow
2024-02-23 09:40:06 -03:00
tytan652 63eef36786 CI: Add appstream type support to flatpak-builder-lint action 2024-02-23 09:40:06 -03:00
Georges Basile Stavracas Neto 48b5affc5b CI: Update Flathub screenshots URL
This is what Flathub uses now. It's an implementation detail that will
eventually be hidden away in a Flathub-specific publish action. But for
now, we still publish directly, and we have to adapt.
2024-02-21 16:48:37 -05:00
Georges Basile Stavracas Neto 8438c08ced CI: Switch to flathub-infra actions
They contain a more recent commit with a fix for a flatpak-builder
regression.
2024-02-21 16:48:37 -05:00
Georges Basile Stavracas Neto 062813eb8a CI: Bump images to KDE 6.6
This should avoid a large pull on each CI run.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto 427fd30bd9 CI: Remove validateToPublish input
It's not used anymore.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto 893c23d1a6 CI: Remove special-cased flatpak-builder-lint error
We have screenshots in regular builds now, there's no need to special
case the screenshots error anymore.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto 2b72be1c29 CI: Use flatpak-builder-lint from the image
The images provided by Flathub already contain flatpak-builder-lint,
and it's up-to-date.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto 31b10f3634 CI: Don't manually commit screenshots to OSTree
The flatpak-github-action action does that for us, and even better, it
properly handles the build arch.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto 06bb6f0be7 CI: Pass mirror-screenshots-url to build workflow
This allows flatpak-builder to set up and commit the screenshots on our
behalf.
2024-02-13 15:44:29 -05:00
Georges Basile Stavracas Neto d8308f289b CI: Use flathub-infra images
Flathub provides Docker images with the tooling we need, and the
pre-installed runtimes. Let's use that.
2024-02-13 15:44:29 -05:00
Ryan Foster 29b71c14d2 CI: Fix incorrect commit hash for signing workflow
When merging the PR for the previous commits, I forgot the note that
stated that it required a merge commit to preserve the pinned commit
hash for the workflow. Thus, when I merged with "Rebase and merge", the
commit hash changed, and the workflow broke.

Update the commit hash to the correct version and fix my mistake.
2024-02-08 14:23:15 -05:00
derrod 780cbacca1 CI: Explicitly set commit hash for signing workflow 2024-02-08 13:38:04 -05:00