Commit graph

36 commits

Author SHA1 Message Date
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
PatTheMav 569398549e CI: Fix steamcmd being unable to find generated build file
steamcmd seems to have a quirk where it cannot find a file in the
current working directory on macOS, but requires the absolute path
to the file instead - using the `:a` Zsh modifier yields the absolute
path of a valid filename in the current directory scope.
2023-07-22 16:41:00 -07:00
PatTheMav 07d0da12d6 CI: Fix broken download of nightly build artifacts for Steam uploads
GitHub's CLI utility is not capable of downloading artifacts generated
by the workflow job it is being run in itself. Thus the official
repository action is needed.
2023-07-22 01:25:21 +02:00
PatTheMav 1e74256b7e CI: Fix random password generation for macOS codesigning
`sha1sum` is part of Homebrew's coreutils, but macOS ships with
`shasum` by default, which supports many variants and defaults to
SHA-1 by default.
2023-07-21 14:16:59 -04:00
PatTheMav 48b51ce3c4 CI: Fix Qt XML validator attempting to validate non-XML files
Explicitly check only for changes `.ui` files in forms subdirectory
and pass only changed files with that suffix to validator.
2023-07-19 11:18:47 -04:00
PatTheMav 401aa7933a
CI: Fix team identifier check in macOS codesigning repository action 2023-07-18 01:19:16 +02:00
PatTheMav 96a48e86c3
CI: Add new reusable workflows for GitHub Actions 2023-07-17 20:09:53 +02:00
PatTheMav d6b98def22
CI: Add new repository actions for GitHub 2023-07-17 20:09:52 +02:00