Commit graph

57 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
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
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 7968f567b1 CI: Add Windows Patches Action 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 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
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
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
tytan652 63eef36786 CI: Add appstream type support to flatpak-builder-lint action 2024-02-23 09:40:06 -03: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
derrod d3291eb983 CI: Ignore pdbs zip in Steam workflow 2024-02-08 13:16:14 -05:00
derrod 348793b3f0 CI: Update Google Cloud GitHub Actions 2024-02-01 03:22:09 -05:00
Ryan Foster 73ad575c11 CI: Update peter-evans/create-pull-request GitHub Action
We're currently using peter-evans/create-pull-request v4.1.4 which is
based on the deprecated node16. This was fixed in v6.0.0, so let's
update to that commit.
2024-02-01 00:27:14 -05:00
Ryan Foster a48cae1b01 CI: Update CyberAndrii/steam-totp GitHub Action
We're currently using CyberAndrii/steam-totp c7f636bc64 which is
based on the deprecated node16. This was fixed in 45775c3219, so let's
update to that commit.
2024-02-01 00:27:14 -05:00
Ryan Foster 3576b40f06 CI: Update CyberAndrii/setup-steamcmd GitHub Action
We're currently using CyberAndrii/setup-steamcmd b786e0da44 which is
based on the deprecated node16. This was fixed in 29e114af03, so let's
update to that commit.
2024-02-01 00:27:14 -05:00
Ryan Foster 100e2c196f CI: Update korelstar/xmllint-problem-matcher GitHub Action
We're currently using korelstar/xmllint-problem-matcher v1.1.0 which is
based on the deprecated node16. This was fixed in v1.2.0, so let's
update to that version's commit.
2024-02-01 00:27:14 -05:00
derrod 700017fec3 CI: Do not install python on macOS
macOS and the GitHub runners have python3 preinstalled.
We only needed to specify a version because aiohttp wasn't compatible
with 3.12, but that's no longer the case.
2024-01-31 17:21:47 -05:00
Ryan Foster fbbfbc6858 CI: Update first-party GitHub Actions from v3 to v4
GitHub Actions has deprecated Actions based on node16. The v4 actions
are based on node20. Replace first-party v3 actions with their v4
counterparts.

See:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-01-29 22:36:53 -05:00
derrod ae5000dd1a CI: Switch to production codesigning cert 2024-01-29 20:10:28 -05:00
derrod 83e65170ad CI: Sign and package Windows builds 2024-01-09 18:54:46 -05:00
derrod 8c3dbd9b51 CI: Use distributed network for service uptime check 2023-12-18 23:40:15 +01:00
tytan652 fc79e813ea CI: Allow to silence errors related to publish
This option allows to validate the Flatpak repo on pushes workflow.
2023-11-09 18:50:17 -03:00
tytan652 9f8655921f CI: Validate Flatpak with flatpak-builder-lint
Validate the Flatpak manifest before building it; then, validate
the build directory; and when publishing, validate the repository
as well.

Using flatpak-builder-lint in the org.flatpak.Builder Flatpak in a
docker container seems to not work.

So the linter repo is cloned and Poetry is used to run it inside an
custom action.

"--exceptions" is required to allow the manifest to pass since
OBS Studio has one for "--talk-name=org.freedesktop.Flatpak".

Co-authored-by: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
2023-11-09 18:50:17 -03:00
derrod e49b31f536 CI: Fix Steam upload (again) 2023-10-10 17:41:18 -04:00
PatTheMav 9f3f07dd56 CI: Fix Steam prerelease detection for releases 2023-09-10 07:02:45 +02:00
PatTheMav 4ee1cc2809 CI: Fix ccache status output for workflow jobs
CCache configuration path was configurable until the CI script cleanup
(as scripts were still intended to be used locally then), which is not
needed anymore.
2023-08-28 10:10:14 -04:00
derrod ceb18e3665 CI: Specify tag for Steam action on release 2023-08-19 16:24:42 -04:00
Ryan Foster 8e66cb823c CI: Fix Sparkle appcast release note generation
The current steps attempted to remove SSH signatures from signed git
commits/tags by making the release notes string into a single line,
running sed, then restoring the newlines. However, this resulted in all
n characters being missing from the resulting output. We can use targeted
git ref format specifiers instead of trying to use sed.

https://git-scm.com/docs/git-for-each-ref/2.41.0#Documentation/git-for-each-ref.txt-contentssubject
https://git-scm.com/docs/git-for-each-ref/2.41.0#Documentation/git-for-each-ref.txt-contentsbody
2023-08-17 14:39:26 -04:00
derrod 4a7b278a23 CI: Fix Steam Playtest upload 2023-08-17 09:12:49 -04:00
PatTheMav ea8ea39e29 CI: Fix checkers tripping over empty GitHub Actions references
When the internal git reference is nonexistent, GitHub Actions seems
to convert that value into a hash made up of only zeroes. As that
hash will be commit-ish it will pass verification.

git cat-file will fail if the provided reference cannot be resolved
in the repository so should be the safer choice.
2023-08-16 18:33:51 -04:00
PatTheMav c1da220ca5 CI: Use more explicit check for valid git reference in check actions 2023-08-16 16:01:55 -04:00
PatTheMav cf8a8cce72 CI: Simplify build scripts for CI-only use 2023-08-10 18:21:09 -04:00
Ryan Foster 64139a6bbd CI: Update to clang-format 16
This commit also modifies UI, libobs, and plugins.
2023-08-10 16:07:25 -04:00
Ryan Foster f9054371fc CI: Update peter-evans/create-pull-request GitHub Action
We're currently using peter-evans/create-pull-request v4.0.3 which is
still using the deprecated set-output command. This was fixed in v4.1.4,
so let's update to that version for now.
2023-08-09 12:13:32 -04:00
Ryan Foster 4037e18d97 CI: Pin third-party actions to specific commits
Recommended practice is to pin third-party actions to specific commits.
2023-08-09 12:13:32 -04:00
Patrick Heyer a2c0d4969a
CI: Add fixes for tagged release runs and assorted minor issues
* Add provisioning profile support for macOS builds
* Fix internal variable names in macOS packaging script
* Add fallback git reference for validator actions
* Add required repository environment to documention deployment jobs
* Pass GitHub pull request number to GitHub CLI explicitly
* Use shortened commit hash for Steam nightly versions
* Ensure that concurrency check for tagged push uses a boolean value
* Update disk image creation function to retry ejection on CI
* Fix repository checkout in Flatpak publish action
* Fix output paths and filenames of generated appcast XML files
* Limit notice about notarization password use to non-CI usage
* Remove architecture-specific suffix from appcast artifact name
2023-07-27 15:26:45 +02:00
PatTheMav bcbe509b56 CI: Fix Python 3.11 installation on macOS 13 runners
Once again GitHub Action runners have a minor Python 3 version
preinstalled that we want to upgrade, which will fail because that
versions does not seem to be Homebrew-based.

Enforcing an upgrade will fix the issue as Homebrew can overwrite the
files.
2023-07-23 01:42:04 +02:00