Commit graph

312 commits

Author SHA1 Message Date
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
derrod ffd5879ec9 CI: Move Windows signing to reusable workflow 2024-02-08 13:38:04 -05:00
derrod d3291eb983 CI: Ignore pdbs zip in Steam workflow 2024-02-08 13:16:14 -05:00
Ryan Foster 66978c4d23 CI: Switch to macOS 14 runners and Xcode 15.2
The macOS 14 runners are M1-based and more performant than the macOS 13
runners. They also seems less prone to random failure.

https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
2024-02-03 18:47:11 -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 c36e5e1e6e CI: Update upload-artifact from v3 to v4 for Sparkle appcast job
Implement the new merge sub-action from upload-artifact as a separate
job that requires the Sparkle appcast creation job so that we still get
a single combined artifact for the Sparkle appcast. This lets us update
upload-artifact from v3 to v4.

GitHub Actions has deprecated Actions based on node16. The v4 actions
are based on node20.

See:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-01-31 14:04:11 -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
Ryan Foster 44cb264257 CI: Update build workflow comment to Xcode 15.1
Amends 389cb95e15.
2024-01-03 15:31:04 -05:00
PatTheMav 389cb95e15 CI: Update build workflow to use Xcode 15.1 on macOS 2024-01-03 16:31:47 +01:00
derrod 8c3dbd9b51 CI: Use distributed network for service uptime check 2023-12-18 23:40:15 +01:00
gxalpha baa3243412 Revert "cmake: Align Product Name and Bundle Name on macOS"
This reverts commit 9f66c23825.

This commit caused a crash in CEF on startup for many users. Let's just
revert it asap for now and worry about the minor problem it was solving
another time.
2023-12-10 16:56:36 +01:00
Norihiro Kamae cedf0ace53 CI: Add further packages for build-requirements on Linux
Some more packages are required to build deb package by the script
`.github/scripts/package-linux`.
2023-12-08 18:47:21 +01:00
PatTheMav 40124892cf CI: Add github-actions renderer options to xcbeautify 2023-12-06 17:27:12 +01:00
PatTheMav 9f66c23825 cmake: Align Product Name and Bundle Name on macOS 2023-11-19 15:04:28 +01:00
tytan652 14eb93df88 CI: Validate Flatpak repository in push workflow
Avoid to encounter some errors only while publishing.
2023-11-09 18:50:17 -03: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
Georges Basile Stavracas Neto e03915ee94 CI: Set build-log-url when publishing
This is about to become a Flathub rule, let's pass that.
2023-11-09 18:50:17 -03:00
Georges Basile Stavracas Neto 5f264272e5 CI: Bump flatpak-github-actions commit hash
Use more recent commits. Use a specific commit hash instead of v6.3
to include a fix for the order of arguments in some cases.
2023-11-09 18:50:17 -03:00
derrod e49b31f536 CI: Fix Steam upload (again) 2023-10-10 17:41:18 -04:00
Kurt Kartaltepe 9b98686c31 cmake: Depend entirely on pkg-config if found for VPL
Released versions of VPL have a pkg-config that orders dependencies
before the main VPL library. This causes our library searching with
pkg-config hints to instead search for the first dependency of VPL.

Instead just import the pkg-config definition directly and use it. This
is a bit more correct as all the dependencies will be correctly linked.

Also install the library since the debian package doesnt seem to depend
on the library itself...

fixes #9573
2023-10-09 11:53:59 -04:00
PatTheMav 773e45bfa9 CI: Add support for dependency revisions to Linux CI builds 2023-10-09 11:01:18 -04:00
PatTheMav 6fb510c918 Revert "CI: Add xclogparser to macOS builds to generate issue report"
This reverts commit c19d9c1365.
2023-10-09 10:31:54 -04:00
PatTheMav c51c1175fb Revert "CI: Add build annotation step to macOS arm64 builds"
This reverts commit a8ad8bace7.
2023-10-09 10:31:54 -04:00
PatTheMav aed040ff58 Revert "CI: Fix condition for annotations in nightly runs"
This reverts commit af2136d51c.
2023-10-09 10:31:54 -04:00
PatTheMav 9f3f07dd56 CI: Fix Steam prerelease detection for releases 2023-09-10 07:02:45 +02:00
PatTheMav af2136d51c
CI: Fix condition for annotations in nightly runs 2023-09-08 23:46:31 +02:00
PatTheMav a8ad8bace7 CI: Add build annotation step to macOS arm64 builds 2023-09-05 18:28:08 -04:00
PatTheMav c19d9c1365 CI: Add xclogparser to macOS builds to generate issue report 2023-09-05 18:28:08 -04:00
tytan652 d03188896d build-aux,CI: Bump Flatpak KDE Runtime to 6.5 2023-09-05 13:14:28 -04:00
tytan652 c2e87f7e72 CI: Update flatpak-github-actions to get upstream improvement
- Bump action dependencies [1]
 - Fix caching from the bump [2]
- Fix build-bundle option [3]

[1]: eacf60ac2f
[2]: 1283416d7c
[3]: b9a7d065ea
2023-09-05 13:14:28 -04:00
tytan652 b2549e4036 CI: Add missing secrets on Flatpak releases 2023-08-28 11:04:09 -04: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
PatTheMav d51f32bfb6
CI: Fix GitHub Actions JSON runtime error in scheduled workflow
Later conditional uses fromJSON expression which requires valid
references. If this step is skipped, the used reference will be invalid
(as the step has never run) and the entire expression will fail.
2023-08-28 14:10:03 +02:00