0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
PatTheMav
2bffc6b1ff CI: Update build-project workflow to use Xcode 15.4 for macOS builds 2024-09-18 16:08:38 -04:00
PatTheMav
2d95d8b98c CI: Remove Ccache restoration for Windows builds
Once upon a time there was the idea to enable use of Ccache for
Windows builds on CI as well, but to achieve this the project would
need to switch to clang-cl.exe as its compiler and use an additional
post-build step to generate PDBs from binaries.

Using a different compiler for continuous integration than for building
release builds defeats the purpose of CI however, so the idea was
dropped.
2024-09-18 16:08:38 -04:00
Ryan Foster
9925345eb6 CI: Update flatpak-builder and flat-manager actions
This should remove some warnings on CI about deprecated GitHub Actions
versions.
2024-08-29 13:31:39 -04:00
derrod
154f0b549d CI: Update all workflows to Ubuntu 24.04 2024-08-23 13:44:04 -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
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
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
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
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
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
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
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
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
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
c1347439eb
CI: Fix updated workflows using outdated Flatpak actions 2023-07-18 01:59:14 +02:00
PatTheMav
96a48e86c3
CI: Add new reusable workflows for GitHub Actions 2023-07-17 20:09:53 +02:00