0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

290 Commits

Author SHA1 Message Date
PatTheMav
f82598d10e CI: Add clang-analyze analytics for macOS builds 2024-08-20 17:20:31 -04:00
derrod
5cbeb1536a CI: Bump sign-windows commit hash 2024-08-15 04:51:39 +02:00
PatTheMav
19d3e30a3a CI: Replace cmake-format with gersemi for CMake file format checks 2024-08-14 12:07:47 -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
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
dff4dd9acf CI: Run PVS-Studio analysis on Windows 2024-06-04 18:37:44 -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
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
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
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
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
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
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
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