Commit graph

263 commits

Author SHA1 Message Date
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
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 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
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
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 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
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 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
PatTheMav 4d7d5103b6
CI: Fix typos in scheduled nightly run workflow 2023-08-26 23:09:25 +02:00
PatTheMav 35f79d62c7 CI: Fix scheduled language file upload
Shell script has to be based on bash, copied code was based on macOS
and Zsh instead.
2023-08-25 11:40:02 -04:00
PatTheMav 37773b036a CI: Remove concurrency limits for push workflow 2023-08-24 14:46:30 -04:00
PatTheMav 7b5ea3de40 CI: Remove language file upload from push workflow 2023-08-24 14:46:30 -04:00
PatTheMav 56e386912e CI: Add nightly upload of changed language files 2023-08-24 14:46:30 -04:00
derrod ceb18e3665 CI: Specify tag for Steam action on release 2023-08-19 16:24:42 -04:00
PatTheMav 1ce5010b25 CI: Update dispatch workflob jobs for documentation updates
generate-docs action does not require a commitHash (it discovers this
value automatically) and redirects do not need to be set up anymore
as the old documentation pages have been removed.
2023-08-16 18:33:51 -04:00
PatTheMav 3a347fe327 CI: Fix push workflow checking for ref name instead of type
Documentation should always be updated on a tag push, hence why the
check should be skipped, but requires checking the type rather than
the name.
2023-08-16 18:33:51 -04:00
PatTheMav 4654b93168 CI: Do not cancel concurrent workflow runs for pushes to master 2023-08-16 16:01:55 -04:00
Vainock bb8146bbdc CI: Update obs-crowdin-sync to latest 2023-08-13 23:44:55 +10:00
Ryan Foster 7a0d069e24 CI: Fix services validator being unable to create Pull Requests
Add write permission to the pull-request scope for the
services-availability and services-validation jobs to allow them to
create and update Pull Requests.
2023-08-07 13:48:24 -04:00
PatTheMav 0a248ab589 CI: Add write permissions to contents scope to service validator 2023-08-05 17:54:41 -04:00
Sebastian Beckmann 211a812cc7
CI: Shorten job and step labels in workflow files 2023-08-02 01:07:44 +02: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 64be5a7f9a CI: Fix broken Flatpak cache generation on CI
Cache key needs to provided regardless of whether a cache hit occurs,
the key is not automatically generated by the action.
2023-07-21 15:43:32 -03:00
PatTheMav 890a7fddd8 CI: Switch service availability checks to macOS runners
Linux runners exhibit connectivity issues with some services that are
not present with macOS runners. Switching to macOS thus reduces chances
for false positives.
2023-07-20 22:57:16 +02:00
PatTheMav ee530c2f49 CI: Remove label triggers from pull request workflow 2023-07-20 21:47:57 +02:00
PatTheMav a88a71c342 CI: Fix scheduled Steam builds
Apparently the workflow run list will also yield the _current_ workflow
run, so we have to fetch at least 2 runs to also get the prior one.
2023-07-20 14:37:22 +02:00
PatTheMav c1347439eb
CI: Fix updated workflows using outdated Flatpak actions 2023-07-18 01:59:14 +02:00
PatTheMav 0838b74060
CI: Delete legacy workflows for GitHub Actions 2023-07-17 20:09:53 +02:00
PatTheMav 96a48e86c3
CI: Add new reusable workflows for GitHub Actions 2023-07-17 20:09:53 +02:00
Ryan Foster 8feb06f1cf CI: Fix call to base64 on macOS 2023-06-30 00:45:03 +02:00