Commit graph

352 commits

Author SHA1 Message Date
derrod 2e1680235e .github: Add workflow to clean caches 2023-04-26 22:03:01 +02:00
derrod d600955f7d CI: Switch service checker to macOS 2023-04-26 22:01:26 +02:00
Georges Basile Stavracas Neto 6e25b3198a CI: Bump Flatpak actions to v6.1
Sadly, v6 had an issue where it pushed the build to the `master`
branch regardless of the branch specified in the action config.
This was fixed in v6.1, so let's use that, and publish further
releases on the right branch.
2023-04-14 20:53:03 -04:00
Ryan Foster 099b391e7c CI: Update deps to 2023-04-12 release
Notable changes:
 * deps.qt: Add missing obs-deps version file for Qt packages
 * CI: Add detection for single-arch static libraries

This is mostly to fix plugin builds. No dependency versions have
changed.
2023-04-12 21:33:06 +00:00
Ryan Foster 9292fbbad7 CI: Update apple-actions GitHub Actions
Update actions version to avoid the impending shut down of deprecated
commands on May 31, 2023.

See:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-04-12 21:32:59 +00:00
K.B.Dharun Krishna 1dd6e47215 CI: Bump Flatpak actions to v6 2023-04-11 17:32:39 -03:00
derrod 7258a58904 CI: Enable Sparkle deltas for betas 2023-04-05 21:26:06 +00:00
derrod cdbdf4854d CI: Migrate Steam uploader to macOS 2023-04-05 21:26:02 +00:00
Ryan Foster 6aa28c8667 CI: Specify branches for merge groups 2023-04-03 20:23:41 -04:00
Ryan Foster 855d9cba4a CI: Update deps to 2023-04-03 release
Notable changes:
 * deps.ffmpeg: Update FFmpeg to a6dc92968a
 * deps.qt: Backport macOS disabled combobox items fix

The FFmpeg update is to fix an issue with DTS when using b-frames with
FFmpeg NVENC. In particular, we wanted this commmit:
 * a6dc92968a
2023-04-03 23:28:17 +00:00
Ryan Foster 4454bc5d5a CI: Enable main workflow to run on merge queue items 2023-04-03 19:04:47 -04:00
derrod 7cb9f10c61 CI: Fix Steam workflow not finding win asset 2023-04-02 09:26:35 +10:00
Ryan Foster 1be1f51635 CI: Update deps to 2023-03-30 release
Notable changes:
 * deps.ffmpeg: Update FFmpeg to 3980415627

This update is to fix a crash when using FFmpeg NVENC. In particular, we
wanted these commmits:
 * 0981053c29
 * 916bdc0f19
2023-03-31 17:59:02 -04:00
gxalpha c2b4142720 CI: Update service check PR job to remove set-output 2023-03-30 19:25:14 -04:00
Ryan Foster 94cf1cd2c8 CI: Fix GitHub labels check
github.event.pull_request.labels contains the labels at the time the
pull_request event was triggered. Modifications made during the workflow
(or after the PR was submitted and before a CI re-run) won't show up
there. To reliably check the labels on CI re-runs, switch back to
checking the API.
2023-03-30 18:55:57 -04:00
tytan652 f47524b5f8 CI: Remove useless toJSON in Flatpak workflow 2023-03-29 19:13:58 -03:00
derrod 83e3d531dc CI: Disable Steam nightly upload 2023-03-28 15:00:35 +02:00
Ryan Foster 746a2ef961 CI: Update deps to 2023-03-26 release
Notable changes:
 * deps.windows: Disable IPO in SpeexDSP build
 * deps.ffmpeg: Revert mbedTLS to 3.2.1
2023-03-26 22:26:26 -04:00
tytan652 e0f0dda2cc CI: Only generate and use master branch Flatpak caches
Bump flatpak-builder action to enable:
- https://github.com/flatpak/flatpak-github-actions/pull/120
- https://github.com/flatpak/flatpak-github-actions/pull/119

Makes Flatpak CIs only restores the cache if the cache key hit a cache
from the master branch.

Prevents Flatpak CIs to saves cache on branches that are not master.
So a newer caches are saved only on the master branch.
2023-03-26 21:11:08 -04:00
PatTheMav dc39edb23c CI: Prevent build artifact creation for macOS without pushed tag
Pushes to master will use faster Ninja builds on macOS, which cannot
generate macOS app bundles anymore. Thus packaging will only work with
PR pushes (and the "Seeking Testers" label set) or upon pushing a
release tag to the master branch.
2023-03-26 20:22:33 -04:00
PatTheMav 82f7a47438 CI: Update build workflow for macOS 2023-03-26 18:20:38 -04:00
tytan652 f4e8a5b98d CI: Enable PipeWire on Ubuntu 22.04 2023-03-25 22:02:29 -04:00
Ryan Foster b262eeab12 CI: Update deps to 2023-03-20 release
Notable changes:
 * deps.ffmpeg: Update libpng to 1.6.39
 * deps.ffmpeg: Update opus to 8cf872a186
 * deps.ffmpeg: Update libvpx to 1.13.0
 * deps.ffmpeg: Update SVT-AV1 to 1.4.1
 * deps.ffmpeg: Update aom to 3.6.0
 * deps.ffmpeg: Update x264 to r3106
 * deps.ffmpeg: Update mbedTLS to 3.3.0
 * deps.ffmpeg: Update nv-codec-headers to 12.0.16
 * deps.ffmpeg: Update FFmpeg to 6.0
 * deps.ffmpeg: Fix AOM target CPU arch
 * deps.macos: Update LuaJIT to 2.1 505e2c03de
 * deps.macos: Update libpng to 1.6.39
 * deps.macos: Update FreeType to 2.13.0
 * deps.windows: Update mbedTLS to 3.3.0
 * deps.windows: Update FreeType to 2.13.0
 * deps.windows: Update cmocka to 1.1.7
 * deps.windows: Update curl to 7.88.1
 * deps.windows: Update LuaJIT to 2.1 505e2c03de
 * deps.windows: Update Zstandard to 1.5.4
 * deps.qt: Backport macOS accessibility keyboard crash fix
 * deps.qt: Update Qt5 to 5.15.8 for Windows
 * deps.qt: Update Qt6 to 6.4.3 for Windows
 * deps.qt: Update Qt5 to 5.15.8 for macOS
 * deps.qt: Update Qt6 to 6.4.3 for macOS
2023-03-20 18:24:37 -04:00
derrod 3fd7216661 CI: Validate compatibility schema 2023-03-07 16:03:18 -05:00
derrod cb475718bd CI: Create Sparkle appcast and deltas on tag 2023-03-07 14:18:32 -05:00
Ryan Foster dfc8c29cea CI: Update deps to 2023-03-04 release
Notable changes:
 * deps.windows: Add Zstandard
 * deps.windows: Add nlohmann JSON
 * deps.windows: Add WebSocket++
 * deps.windows: Add Asio
 * deps.windows: Add VLC
 * deps.macos: Add nlohmann JSON
 * deps.macos: Add WebSocket++
 * deps.macos: Add Asio
 * deps.macos: Add Sparkle
 * deps.macos: Add VLC
 * deps.macos: Ready macOS deps for new CMake
2023-03-04 19:15:02 -05:00
gxalpha b0ebcff4e8 CI: Stop pinning Xcode to 14.1
This was needed to get the macOS 13 SDK when Xcode 14.0 was the default.
It no longer is (at the time of writing the default is 14.2), so we can
(and probably should) stop pinning to the older 14.1
2023-02-26 03:09:25 +01:00
PatTheMav 63e0e49798 CI: Remove unit tests from macOS build scripts 2023-02-22 23:06:52 +01:00
derrod 634fd3231c CI/cmake: Update Sparkle to 2.3.2 2023-02-19 01:35:56 +01:00
tytan652 08af16edaf CI: Factorize Github labels checks 2023-02-16 21:30:53 +01:00
derrod 970585d073 CI,docs: Create separate CF pages artifact
The CF pages artifact has no extensions in generated links to avoid the
automatic redirects CF does.
2023-02-15 10:55:53 -05:00
derrod fad0c8d401 CI: Only publish docs on stable tags
Also fixes version update not running for workflow_dispatch events.
2023-02-15 10:55:53 -05:00
derrod 0a18c006ca CI: Publish docs to Cloudflare Pages 2023-02-01 12:00:50 +01:00
Ryan Foster af59a903e1 CI: Revert Qt to 6.3.1 on Windows 2023-01-19 16:08:02 -05:00
Norihiro Kamae 00b4d19e77 CI: Revise repository conditions to validate JSON schema of services
This commit blocks schema validation every day in repositories other
than `obsproject`. Also enables service_check if the owner triggers it
manually.
2023-01-06 21:14:50 +01:00
tytan652 409cfa4335 CI: Use Flatpak build-bundle option
This option allows to build the Flatpak without generating a
bundle (artifact).

This allows to remove the requirement of the "Seeking Testers" label to
just test build the Flatpak.
2023-01-02 09:21:33 -03:00
tytan652 34e159425c CI: Update Flatpak Actions 2023-01-02 09:21:33 -03:00
Ryan Foster 03c837d448 CI: Update deps to obs-deps 2022-11-21 release
Notable changes:
 * Add Jansson to Windows deps
 * Update zlib to 1.2.13
 * Update libpng to 1.6.38
 * Update opus to bce1f39235
 * Update SVT-AV1 to 1.3.0
 * Update aom to 3.5.0
 * Update x264 to r3101
 * Update libsrt to 1.5.1
 * Update AMF to 1.4.26
 * Update FFmpeg to 5.1.2
 * Update LuaJIT to 2.1 7a0cf5fd4c
 * Windows: Update cmocka to cd95ee9f77
 * Windows: Update curl to 7.86.0
 * Qt: Update Qt5 to Qt 5.15.7 for Windows
 * Qt: Update Qt6 to Qt 6.4.1 for Windows
 * Qt: Update Qt5 to Qt 5.15.7 for macOS
 * Qt: Update Qt6 to Qt 6.4.1 for macOS
2022-11-21 18:22:54 -05:00
tytan652 723ca8f034 CI,obs-vst: Update Flatpak KDE Runtime to version 6.4
The 6.4 runtime rely on Freedesktop 22.08 which provide a more recent
version of Mesa and PipeWire.

The switch to 22.08 also requires to migrate paths of VST 2 plugins.
2022-11-20 17:16:02 -05:00
Matt Gajownik ea2cbb6f65 CI: Name Docs zip based on commit/tag 2022-11-19 15:00:13 +11:00
PatTheMav 51df553e86 CI: Add debian debug symbols to CI artifacts 2022-11-12 18:20:50 -05:00
derrod 907daf11f7 CI: Upload beta builds as Steam Playtest 2022-11-04 16:30:47 +01:00
tytan652 a3d340f0be CI: Fix service validator
ubuntu-latest has been switched to 22.04. This CI requires 20.04 because
of the dependence on Python 3.9.
2022-11-01 14:20:25 +01:00
Ryan Foster 7c66b125ae CI: Update GitHub Actions for set-output deprecation
GitHub Actions has deprecated set-output. Replace usages of set-output
in stdout with the new syntax to save the output to the new environment
variable.

See:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-18 17:48:22 -04:00
Matt Gajownik 743117f080 CI: Downgrade Sphinx to fix docs build error
This should be reverted once sphinx_rtd_theme is updated.

See https://github.com/readthedocs/sphinx_rtd_theme/issues/1343
2022-09-25 10:35:23 +10:00
derrod 7ff2a94458 CI: Fix Xcode selection in new runner image 2022-09-20 16:40:18 +02:00
derrod 947054087b CI: Switch to Xcode Beta 2022-09-20 09:36:13 -04:00
derrod 8865f87f1b CI: Fix service check workflow using outdated cache 2022-09-19 00:04:47 +02:00
Matt Gajownik 0e7f69ee31 CI: Bump Linux CEF build to disable GTK
Fixes #7146

Normally, Qt and CEF each run their own version of GTK, often causing
conflicts. This commit introduces a build of CEF where GTK has been
disabled using `use_gtk=false` as we do not require the Chrome runtime.
This is an experiment and may end up being the safest long-term solution.

Note: This does introduce potential quirks/incompatibilities, such as
browser sources no longer being able to display alert() dialogs, and
potentially file browser dialogs not working from CEF.
This is better than the alternative. If necessary, such dialogs can be
reimplemented using Qt at a later date, and would likely provide a more
consistent user experience.
2022-08-23 19:47:41 +10:00
tytan652 2407c873db CI: Update Flatpak image to KDE 6.3 2022-08-20 20:11:51 -03:00
derrod b7df5d2e15 CI: Switch to included Xcode 14 Beta 2022-08-13 16:24:09 -07:00
derrod 84ebd7ac67 CI: Fix Flathub workflow tag validation 2022-08-03 09:02:26 -03:00
derrod 9ba1426204 CI: Fix Steam workflow for APFS DMGs 2022-08-03 03:54:11 +02:00
derrod 3c41697b42 CI: Update Steam workflow for Apple Silicon builds 2022-08-03 03:34:49 +02:00
derrod 4a64b2aae6 CI: Fix checking xcode url secret availability
Apparently this doesn't work in "if" clauses.
2022-08-03 01:44:23 +02:00
derrod be68403fa4 CI: Install Xcode 14 beta for tagged builds 2022-08-03 01:35:52 +02:00
Ryan Foster 7a975fddc0 CI: Update deps to obs-deps 2022-08-02 release
Changes:
 * Exclude symbols from SRT DLLs

This fixes multiple possible crashes with the Media Source due to
symbols collision.
2022-08-01 23:28:41 -04:00
Ryan Foster d39d5f3712 CI: Fix packaging scripts
On CI, do not fetch tags in packaging scripts. For some reason, the
checkout action seems to locally update any new git tags on the runner:

t [tag update]   (commit-hash) -> tag-name

This causes future calls to fetch git tags to fail on CI with:

! [rejected]   tag-name -> tag-name  (would clobber existing tag)

To avoid this, we can simply not fetch tags a second time on CI.

Additionally, fix the Windows Installer job.
2022-08-01 21:38:56 -04:00
cg2121 67f7a84076 CI: Change build file names
This makes the build names with each OS consistent with each other.
2022-08-01 13:15:51 -04:00
Ryan Foster b4e056f39d CI: Use Qt6 by default when available 2022-07-31 13:45:57 -04:00
PatTheMav 297ec9e957 CI: Increase macOS deployment target to 10.15 for x86_64 2022-07-31 12:21:35 +02:00
Matt Gajownik 577b11ede4 CI: Bump CEF from 4638 (95) to 5060 (103) 2022-07-31 09:46:44 +10:00
Ryan Foster 7bfc7e65f4 CI: Update deps to obs-deps 2022-07-29 release
Notable changes:
 * Use VS2022
 * Update zlib to 1.2.12
 * Update opus to ab04fbb1b7
 * Update libvpx to 1.12.0
 * Update SVT-AV1 to 1.1.0
 * Update aom to 3.4.0
 * Update x264 to r3095
 * Update mbedTLS to 3.2.1
 * Update libsrt to 1.5.0
 * Update librist to 809390b3b7
 * Update AMF to 1.4.24
 * Update FFmpeg to 5.0.1
 * Update FreeType to 2.12.1
 * Update LuaJIT to 2.1 3065c910ad
 * Update SpeexDSP to 1.2.1
 * macOS: Update Jansson to 2.14
 * Windows: Update libogg to 1.3.5
 * Windows: Update libvorbis to 84c023699c
 * Windows: Update cmocka to bbf5ff7dd5
 * Windows: Update curl to 7.84.0
 * Windows: Update VulkanSDK to 1.3.216.0
 * Windows: Update nasm to 2.15.05
 * Windows: Update Python to 3.8.10
 * Qt: Update Qt5 to Qt 5.15.5 for Windows
 * Qt: Update Qt6 to Qt 6.3.1 for Windows
 * Qt: Update Qt5 to Qt 5.15.5 for macOS
 * Qt: Update Qt6 to Qt 6.3.1 on macOS
 * Qt: Backport Windows native scale factor fix
2022-07-30 00:14:56 -04:00
Matt Gajownik ff555dd2b0 CI: Update docs to Sphinx v3, fix warnings
Sphinx 3 adds a number of C and C++ friendly directives, making
documenting our code much easier.
2022-07-30 11:09:01 +10:00
Ryan Foster 81bd1d42f0 CI: Use VS2022 and clang-format 13
Switch to Visual Studio 2022 and clang-format 13.

The Ubuntu 22.04 image currently has clang-format 12.0.1, 13.0.1, and
14.0.0. VS2022 17.2 ships clang-format 13.0.1, so let's use that for now
until VS2022 17.3 is available with clang-format 14.

This commit also makes the necessary changes to allow the clang-format
check to pass.

This commit also updates the obs-browser submodules with the necessary
changes.
2022-07-27 11:09:59 -04:00
Ryan Foster efcfc86444 CI: Update deps to obs-deps 2022-07-18 release
Changes:
 * Windows: Fix AV1 encoder enablement
2022-07-19 11:02:43 -04:00
Ryan Foster beaae2b9ce CI: Update deps to obs-deps 2022-07-08 release
Notable changes:
 * Windows: Add Qt 5 and 6 builds
 * Windows: Remove nasm native build
 * Windows: Update srt from 1.4.2 to 1.4.4
 * Windows: Update SWIG from 3.0.12 to 4.1.0-git
 * macOS: Update libvpx from 1.10.0 to 1.11.0
 * macOS: Update srt from 1.4.1 to 1.4.4
 * macOS: Update SWIG from 3.0.12 to 4.1.0-git
 * macOS: Update x264 from r3059 to r3060
2022-07-14 11:22:36 -04:00
Ryan Foster 231c91846d CI: Update Ubuntu versions
Ubuntu 22.04 images are now available on GitHub Actions. Add 22.04 and
drop 18.04, as we are dropping 18.04 for an upcoming release.
2022-07-13 19:05:05 +10:00
tytan652 49c20c6cc1 CI: Fix Flatpak releases
Add a job where the tag is checked if it is valid, it also checks if the
release should be published to Flathub beta and/or Flathub by
dynamically setting the matrix.
2022-07-12 14:13:16 -04:00
PatTheMav c887459f3c CI: Switch to universal Qt builds for CI
Due to changes on obs-deps, per-arch Qt builds do not contain universal
binaries anymore. To allow CI to cross-compile on x86_64 runners,
the universal release is used, which will run on both architectures.
2022-07-07 16:20:30 -04:00
tytan652 3b3b45038f CI: Fix git usage inside Flatpak action container
This fix the lack of hash in the Flatpak artifact filename.
2022-06-27 18:08:59 -04:00
derrod 59e91d2091 CI: Use static 7zip build instead of PPA 2022-06-25 16:25:16 -07:00
Vainock 7d2fae69de CI: Update obs-crowdin-sync to 0.2.1 2022-06-18 11:16:22 +10:00
Ryan Foster e224ab37e6 CI: Update deps to obs-deps 2022-05-23 releases
macOS Updates:
 * Qt: Optimize build
 * Qt: Backport patch to fix text spacing
 * Qt: Backport patch to fix QDockWidgets docking behavior
 * NTV2: Update to v16.2-bugfix5
 * mbedTLS: Fix compile error on Xcode
 * Qt: Fix arm64 cross-compile build

Windows Updates:
 * nv-codec-headers: Update to n11.1.5.1
 * NTV2: Update to v16.2-bugfix5
 * FFmpeg: Disable Media Foundation
 * mbedTLS: Fix cross-compile build to fix encrypted SRT
2022-06-01 16:10:21 -04:00
derrod abf383f264 CI: Ping authors of failed services in removal PR 2022-05-22 01:00:55 -04:00
derrod ccff8040fa CI: Add services check job 2022-05-20 08:55:56 -04:00
Matt Gajownik de11632a9c CI: Validate JSON Schema of Services files 2022-05-20 20:25:19 +10:00
Ryan Foster 5a3e68a359 CI: Remove extra whitespace from Steam workflow 2022-05-19 18:50:03 -04:00
Ryan Foster b1c7d4eb4b CI: Update first-party GitHub Actions 2022-05-19 18:50:03 -04:00
tytan652 bf6001939b CI: Use manifest hash as Flatpak cache key
https://github.com/bilelmoussaoui/flatpak-github-actions/issues/80
This issue is preventing the removal of the cache-key in the actions
inputs to use the default cache key.
2022-05-03 13:08:19 -04:00
Ryan Foster 7eb36eadb1 CI: Update macOS image to macOS 12
Update the macOS image used on GitHub Actions from macOS 11 to macOS 12.
2022-04-28 17:34:53 -04:00
derrod ac674e4130 CI: Do not run Steam workflow on forks 2022-04-21 10:52:38 -04:00
derrod e860b26589 CI: Add Steam build uploader 2022-04-18 14:08:33 -04:00
cg2121 6bee92d054 CI: Use 9-character short hashes in artifact names
Hardcode short hash length to 9 characters in CI and packaging scripts.
It is not guaranteed that short hashes are the same length across
different platforms or different versions of git. This caused problems
with upload/download action names, as the hashes sometimes didn't match.

Fix the download artifact name in the Windows installer job and the
macOS notarization job to prevent them from failing due to a name
mismatch.
2022-04-12 14:21:13 -04:00
Vainock 6ec7ebcb89 CI: Update Crowdin Sync to 0.2.0 2022-04-02 12:47:27 +11:00
PatTheMav ff916e5f2c CI: Fix Windows build scripts relying on localized architecture string
Current build scripts rely on comparing a architecture string provided
by the OS which will be localised in certain languages.

This change uses a boolean 64-bit flag to use script-defined identifiers
to avoid this issue.
2022-03-28 15:38:03 -04:00
PatTheMav bc2192d660 CI: Add shortened commit hashes to generated artifacts 2022-03-27 09:20:00 +11:00
Ryan Foster d954abedf8 CI: Differentiate Linux CI artifact names
Use the entries in the matrix.ubuntu property to differentiate the
Linux CI artifacts. This allows us to have separate artifacts for each
job configuration created by the matrix.
2022-03-21 14:54:39 -04:00
Ryan Foster 2f974da551 CI: Update GitHub Actions
Update all of our GitHub Actions to the latest versions. Notably, the
update to actions/cache gives support for the 10GB GitHub Actions cache,
and the updates for the other first-party actions are required for
future M1 runner support.
2022-03-21 13:46:40 -04:00
Ryan Foster 14f6ea0841 CI: Add 'flatpak' to Flatpak bundle name
Provide some clarity on the GitHub Actions artifacts list.
2022-03-18 07:45:19 -03:00
Ryan Foster 41b416fc99 CI: Fix Qt XML Validator workflow
libxml2-utils updated recently but the manifest is out-of-date. Try to
fix it with the suggestion of running apt-get update first.
2022-03-17 14:40:52 -07:00
PatTheMav 8fba906be4
CI: Add necessary build system changes for universal and M1 builds 2022-03-16 23:23:40 +01:00
PatTheMav c993b6059a
CI: Update build scripts and Github actions workflow
Also updates main CMakeLists.txt and CMakeLists.txt for unit tests,
also adds additional build directories to .gitignore file
2022-03-16 23:13:26 +01:00
Ryan Foster 1960f6c11c CI: Update workflow to copy SOVERSION symlinks
Commit 7a5bffc0a6 applied a fix to the
macOS build script. This applies the same fix to the GitHub Actions
workflow that is actually currently used on CI.
2022-02-22 17:16:28 -05:00
Matt Gajownik a7a0f69808 CI: Bump Windows CEF cache to fix reported version
While the previous cache had the correct changes, the version was
reported incorrectly. This will avoid confusion.
2022-02-21 10:32:17 +11:00
Matt Gajownik 2d9f19223a CI: Bump Windows CEF cache for new OnAcceleratedPaint2
See https://github.com/obsproject/cef/commit/36fdac16a7 for more info.

This only bumps the cache on Windows as the changes are currently
Windows-specific.
2022-02-21 09:13:11 +11:00
PatTheMav a38d55f945 CI: Update main workflow file to use fixed obs-deps
Prior version was linked against libxcb, because it was present on
Github Actions macOS runners. Consequently builds on CI will succeed
as the library is always present, will fail on user's machines though.
2022-02-19 15:40:00 -08:00
derrod 09e7d5d1a5 CI: Specify Windows Server 2019 2022-02-10 02:03:53 -05:00
Matt Gajownik 1793670bbf CI: Update Windows x86 obs-deps package to 2022-01-31
This updates LibRIST.

* LibRIST: Fix a reconnection issue for Media Sources
2022-02-01 17:17:53 +11:00
Matt Gajownik ff8df424b1 CI: Update Windows obs-deps package to 2022-01-31
This updates LibRIST, libaom and SVT-AV1.

* LibRIST: Fix a reconnection issue for Media Sources
* SVT-AV1: Update to v0.9.0
2022-02-01 17:12:44 +11:00
Matt Gajownik cbbc8bc876 CI: Update macOS obs-deps package to 2022-01-31
This updates SVT-AV1 to v0.9.0.
2022-02-01 17:11:48 +11:00
Matt Gajownik e9cbe52d96 CI: Bump CEF caches to fix cookie crash bug
Manually backported a CEF 97 bug fix to CEF 95 and rebuilt for all
platforms. More info:
https://bitbucket.org/chromiumembedded/cef/issues/3193/#comment-61679139
2022-01-22 21:20:07 +11:00
Ryan Foster a708eda753 CI: Update Windows obs-deps package to 2022-01-01
This aligns CI Windows builds with recently shipped deps to support AV1
and RIST as well as providing other updates.

 * Update FFmpeg from 4.2.4 to 4.4.1
 * Update nv-codec-headers from 9.0.18.2 to 11.1.5.0
 * Add libaom and SVT-AV1 support (64-bit only)
 * Add RIST support
 * Enable multithreading for libvpx obs-deps builds
2022-01-08 13:19:00 +11:00
Ryan Foster 5eca57eb7e CI: Update macOS obs-deps package to 2022-01-01
Fix RIST on macOS. Patch libaom.
2022-01-08 13:19:00 +11:00
Matt Gajownik a324584c20 CI: Trigger multiplatform builds on release branches 2022-01-02 13:20:25 +11:00
Georges Basile Stavracas Neto 36f06e07c6 CI: Split Flatpak beta and stable branches
We currently publish the same build from the same branch
to Flathub. However, soon we'll need to build the Flatpak
manifest in different branches, and publish them in different
repositories.

Prepare for that by splitting the publish step in two: one
for Flathub, and another for Flathub Beta. Do that using
a matrix strategy.

Skip building and publishing stable releases when it's a beta
or RC release by setting an output variable in the first job.
2021-12-30 17:05:58 -03:00
Georges Basile Stavracas Neto 2c7bc286e6 CI: Trivial cleanup
Remove quotes from the step name.
2021-12-30 17:05:58 -03:00
Ryan Foster 919a36ea90 CI: Use Windows obs-deps release
Use the Windows obs-deps release on CI instead of the current
dependencies2019.zip.
2021-12-21 14:14:26 -08:00
Matt Gajownik e35b8d5888 CI: Update Windows CEF version to 4638 (Chromium 95) 2021-12-17 12:24:01 -08:00
Matt Gajownik 9c12a9ac98 CI: Update Linux CEF version to 4638 (Chromium 95) 2021-12-17 12:24:01 -08:00
Matt Gajownik 0c26becd80 CI: Update macOS CEF version to 4638 (Chromium 95) 2021-12-17 12:24:01 -08:00
Matt Gajownik 24faaf085d CI: Update Crowdin Sync workflow to 0.1.2
See https://github.com/obsproject/crowdin-synchronization/pull/7
2021-12-15 22:09:53 +11:00
Georges Basile Stavracas Neto b0e82b9233 CI: Run Flatpak jobs on release branches too
We'll soon be moving to branching before releases, which
is a case that the current Flatpak worflow did not account
for.

Adapt it to also run on release/** branches.
2021-12-13 09:16:28 -08:00
Carlo Castoldi 4623a6b4bc obs-ffmpeg: Set DRI devices and their name persistently
retrieving the DRI devices from /dev/dri/by-path/ instead of
/dev/dri/renderDXXX. This enable us to use lspci to get the device
name as well.
2021-12-12 11:12:36 +11:00
Colin Edwards b4cfc6bcf4 CI: Add obsdeps to dylibBundler search 2021-12-06 14:09:39 -06:00
Colin Edwards 3bf21618f1
CI: Bump WINDOWS_DEPS_CACHE_VERSION 2021-12-06 00:07:56 -06:00
Colin Edwards b58f83a44d CI: Update macos deps to 2021-12-05 2021-12-05 23:45:21 -06:00
Vainock 904083a259 CI: Increase Crowdin Sync Checkout Fetch Depth
This fixes an issue when more than 1 commit gets pushed.
2021-12-05 22:05:58 +11:00
Matt Gajownik 9f8a7f09ee CI: Update Crowdin Sync workflow to 0.1.1
See https://github.com/obsproject/crowdin-synchronization/pull/6
2021-12-05 13:00:52 +11:00
Georges Basile Stavracas Neto d49c09c738 CI: Don't publish betas to Flathub stable
Beta releases are being considered, in which case the tag
name will contain '-beta' instead of '-rc'. Adapt the CI
workflow to take '-beta' into account too.
2021-12-04 21:00:09 -03:00
Vainock e390b4bf7c CI: Add Crowdin Synchronization 2021-11-25 20:59:11 +11:00
Georges Basile Stavracas Neto c085ae025f CI: Drop "(Experimental)" from the Flatpak workflow
It just cannot get more official than this!
2021-11-24 17:48:26 -03:00
Georges Basile Stavracas Neto 5acfa27c74 CI: Publish releases on Flathub
Now that Flatpak has achieved full feature parity with non-Flatpak
builds, it is time to publish it directly into Flathub.

Add a new "publish" job to the Flatpak workflow that builds and
publishes to Flathub Beta, and to Flathub (if the release tag
doesn't contain '-rc').
2021-11-24 17:48:26 -03:00
Georges Basile Stavracas Neto e1e1a0de0f CI: Use version 4 of the flatpak-builder action
None of the changes included in v4 affect OBS Studio, but since
we're already touching this code, let's make sure it's updated.
2021-11-24 17:48:26 -03:00
Georges Basile Stavracas Neto b389b1bed0 CI: Trivial job renaming
Rename "flatpak_builder" to "generate_bundle", and set the display
name to "Generate Flatpak Bundle". This will make it less vague,
which will come in handy since next commits will add new jobs to
this workflow.
2021-11-24 17:48:26 -03:00
Georges Basile Stavracas Neto 12069d6714 CI: Make YAMLint happy
Add a start-of-file heading, and reindent some line. Only cosmetics,
no behavioral changes here.
2021-11-24 17:48:26 -03:00
derrod 060f24ad49 CI: Update XML/clang-format validation job names 2021-11-24 12:28:26 -08:00
Georges Basile Stavracas Neto 1392ea5ca6 CI: Enable services on Flatpak builds
The flatpak-builder tool now supports passing secrets options to the
build system. These options are not printed during the build, nor
added to the resolved manifest after build, so they don't leak env
vars from CI.

Make secret variables part of the Flatpak workflow environment, like
the main workflow. Pass the various services hashes and clientids to
the build system using the new "secret-opts" key.
2021-11-03 13:17:03 -03:00
Norihiro Kamae ebadfa3794 CI: Fix error when uninstalling curl and php 2021-11-03 21:13:23 +11:00
Matt Gajownik a4f0999df5 CI: Validate Qt XML in UI files 2021-10-24 00:42:05 -07:00
Artem Polishchuk 3f341639ce CI: Update KDE image to 5.15-21.08 (Flatpak)
Update Flatpak KDE image to 5.15-21.08 in GitHub Actions.
2021-10-16 15:55:10 -07:00
Ryan Foster 2c5b1a837f CI: Update clang-format from 10 to 12
Microsoft Visual Studio 2019 ships with LLVM/Clang 12 as of Visual
Studio 2019 16.11.0 (August 10, 2021). LLVM/Clang 12 is available on all
platforms. This change should make it easier to have clang-format "just
work" on dev systems and be consistent across platforms without having
to use an outdated version.
2021-10-13 20:00:04 +11:00
jpark37 cf518f4944 CI: Fix double zip by uploading build folders 2021-09-17 08:06:44 -07:00
gxalpha 0d755c3691 mac-virtualcam: Move DAL plugin to plugin data directory
Moves the DAL plugin to the data directory of the mac-virtualcam. Until
now, it was just lying in the top-level data directory
2021-08-17 08:21:32 -07:00
Yuriy Chumak e6f1daab8c UI: Add YouTube integration 2021-08-07 01:07:04 -07:00
Yuriy Chumak eb6ba44c8a UI: Include QtNetwork as a direct dependency
(Jim note: Rather than copy the QtNetwork library manually like we were
doing before, this makes it so that QtNetwork is used as a dependency of
the UI. The cmake used to copy the library manually thus us no longer
necessary.)
2021-07-24 15:50:59 -07:00
Matt Gajownik 38bb4dcc99 CI: Bump dmgbuild to 1.5.2 to fix detach error 2021-06-03 00:43:13 +10:00
PatTheMav 33bdef6cc7 CI: Fix dmgbuild breaking CI by pinning its version number 2021-05-31 11:42:16 -07:00
PatTheMav b24faf6b33 CI: Add check for code signing credentials used by notarization 2021-05-18 20:30:51 -07:00
jpark37 2a3174cf9e CI: Add versioning for dependencies zip file 2021-05-17 02:28:11 -07:00
Kurt Kartaltepe 0f172a0bc7 CI: Remove unneeded runtime deps
Removes kernel headers and dkms packages from the CI pipeline. These are
only needed when running obs and not when building. This avoids crashing
and burning in CI when secureboot is enabled. see: https://github.com/obsproject/obs-studio/pull/4560/checks?check_run_id=2403303957
2021-04-30 18:44:01 -07:00
Bilal Elmoussaoui 2d315331d6 CI: Use a stable version of the Flatpak action 2021-04-28 20:40:16 -04:00
Bilal Elmoussaoui 757f917ed1 CI: Use flatpak-builder subaction
The Flatpak action now contains two subactions:

- flatpak-builder: for building and uploading a bundle
- flat-manager: for deploying the bundle to a remote repository

Use the right action (flatpak-builder) for the Flatpak workflow.
This won't affect existing pull requests, except the ones that
have the "Seeking Testers" label applied - in which case, they
simply need to rebase against the master branch.
2021-04-18 17:37:05 -07:00
Colin Edwards 1274943a0b CI: Specify arch for prebuilt deps 2021-04-11 20:28:04 -05:00
Georges Basile Stavracas Neto 334146ee36 CI: Enable build cache for the Flatpak workflow
This allows caching build objects, and using ccache to skip
building them on follow-up runs.
2021-04-03 00:30:15 +11:00
Georges Basile Stavracas Neto d0681b6db8 CI: Disable PipeWire on Ubuntu
Unfortunately, neither Ubuntu 20.04 nor 18.04 have a recent enough
PipeWire package. Disable the PipeWire bits of linux-capture there.
The Flatpak workflow is still able to build it, so keep it enabled
there.
2021-03-29 17:00:32 -03:00
PatTheMav 9da6fc67c4 CI: Fix missing entitlements on CEF components for obs-browser 2021-03-01 08:27:16 -08:00
Colin Edwards 9b699f65d7
CI: Update macOS dependencies bundle 2021-02-27 21:30:58 -06:00
Matt Gajownik 472ce22a73 CI: Build on Ubuntu 18.04, use newer clang-format
There are too many issues with 20.04 to successfully build with
VirtualCam - the azure kernel is missing videodev headers. For now,
use 18.04 LTS directly for main CI builds.

Both 18.04 and 20.04 include clang-format-10 without issue.
2021-02-22 02:10:34 -08:00
Georges Basile Stavracas Neto 586767ab12 ci: Install qtbase5-private-dev on Linux
List this dependency both under CI/install-dependencies-linux.sh, and
.github/workflows/main.yml.
2021-02-01 19:03:43 -03:00
PatTheMav d2ca8b5d90 CI: Re-enable Python scripting support on CI for macOS
Closes obsproject/obs-studio#3689
2021-01-27 11:33:53 -08:00
Matt Gajownik 475172cffa CI: Enable service integration on Linux
This also simplifies environment variable definitions
2021-01-27 11:39:09 +11:00
Matt Gajownik a5c482dd19 CI: Use CEF 4280 on GH Actions builds 2021-01-27 10:11:41 +11:00
Bilal Elmoussaoui 892bd62bfe CI: use a KDE image for Flatpak
The KDE images comes with the SDK needed pre-installed and should avoid re-downloading/installing it everytime. This should hopefully reduce the build time by a few minutes 

Details at https://github.com/bilelmoussaoui/flatpak-github-actions#docker-image
2021-01-26 03:57:15 -08:00
Georges Basile Stavracas Neto 44ca426483 ci: Add experimental Flatpak bundle
This is a simple, isolated workflow that generates Flatpak
bundles when running on the master branch, or when a pull
request has the "Seeking Testers" label.

Based on https://github.com/marketplace/actions/flatpak-builder
2021-01-18 15:33:54 -08:00
Matt Gajownik 6650f090d8 CI: Enable service integration in GitHub Actions 2021-01-18 21:07:56 +11:00
PatTheMav bdfb626a32 CI: Add dynamic number of processors to make calls on CI 2021-01-08 22:40:51 -06:00
PatTheMav ac2e7a4ef2 CI: Force use of system-provided binaries for build script 2021-01-08 22:40:51 -06:00
Ryan Foster 1b215e463c CI: Update Windows dependencies to VS2019 versions 2021-01-08 15:11:15 -05:00
Ryan Foster 5e29ca30e4 CI: Update Windows Qt from 5.10.1 to 5.15.2 2021-01-08 15:11:09 -05:00
Colin Edwards 3056977737 CI: Update macOS to CEF 4183 2021-01-08 10:26:15 -08:00
Colin Edwards 0fa5dfcd30
Merge pull request #3933 from PatTheMav/macos-cef-texture-sharing
libobs: Add texture sharing support for macOS/OpenGL
2021-01-07 23:03:08 -06:00
PatTheMav 20fb235b8f CI: Remove jack, speex and fdk-aac from default builds for macOS 2020-12-22 04:36:12 -08:00
PatTheMav 20bb465047 CI: Fix macOS 10.13 crashes due to unsupported library symbols 2020-12-19 18:48:38 -08:00
PatTheMav 61ea6e0247
libobs: Add texture sharing support for macOS/OpenGL 2020-12-18 17:44:03 +01:00
PatTheMav c85bf0fcba
libobs: Add texture sharing support for macOS/OpenGL 2020-12-16 12:56:43 +01:00
PatTheMav ad1b98351c
CI: Add necessary changes for CEF 4183 2020-12-16 12:56:42 +01:00
PatTheMav d609e60039
CI: Update macOS to Qt 5.15.2 and deps 2020-12-11 2020-12-11 20:51:22 +01:00
PatTheMav eafab7d5e9
CI: Add decklink-captions to dylibbundler fixups 2020-11-27 20:56:47 +01:00
Vadim Zhukov 12719816fc
Add sndio support (#3715)
Add sndio support
2020-11-14 11:58:55 -08:00
PatTheMav 84b2558995
UI: Update macOS app icon 2020-11-13 17:00:05 +01:00
PatTheMav 6bef0a8619 CI: Remove caching of obs-deps for Github CI 2020-11-04 11:54:42 +11:00
Colin Edwards 7b0d7c6357 Remove BUILD_CAPTIONS build flag 2020-11-02 22:46:55 -06:00
John Boiles 2700db9ff9 Add virtualcam plugin to OBS codebase
Co-authored-by: lvsti <lvsti@users.noreply.github.com>
Co-authored-by: Sebastian Beckmann <beckmann.sebastian@outlook.de>
Co-authored-by: Stefan Huber <sh@signalwerk.ch>
Co-authored-by: Ryohei Ikegami <iofg2100@gmail.com>
Co-authored-by: Colin Dean <colin.dean@target.com>
Co-authored-by: Wolfgang Ladermann <extern.ladermann_wolfgang@allianz.de>
Co-authored-by: Simon Eves <simon.eves@omnisci.com>
Co-authored-by: Colin Nelson <colnnelson@google.com>
Co-authored-by: Yoshimasa Niwa <niw@niw.at>
Co-authored-by: Michael Karliner <mike@modern-industry.com>
Co-authored-by: Jason Grout <jgrout6@bloomberg.net>
Co-authored-by: Alfredo Inostroza <jadenguy@gmail.com>
Co-authored-by: Daniel Kennett <daniel@cascable.se>
Co-authored-by: Gary Ewan Park <gep13@gep13.co.uk>
Co-authored-by: José Carlos Cieni Júnior <cienijr@outlook.com>
2020-10-30 23:36:57 -07:00
Clayton Groeneveld 6af8726c74 linux-v4l2: Add virtual camera output 2020-10-30 02:00:14 -07:00
PatTheMav c16517ca83 CI: Update macOS build script to support alternative build configs
Also adds a tweak to the brew update which _might_ fix Azure CI.
2020-10-23 23:36:07 -07:00
PatTheMav f190a9f7fb CI: Fix Windows artifact issues and housekeeping 2020-10-18 20:12:56 -07:00
pkv a1c3fbee64 CI: Add virtualcam GUID to win builds
Adds the virtualcam GUID to win builds on GH actions and azure.

Co-authored-by: PatTheMav <patthemav+github@gmail.com>
2020-10-10 17:28:22 -07:00
PatTheMav 7b96f51995 CI: Remove deprecated use of set-env in Github Actions 2020-10-10 17:27:51 -07:00
PatTheMav eaff7d7da0 CI: Use tag number only for macOS plist when triggered by version tag 2020-10-02 06:29:19 -07:00
Colin Edwards 32dca37304
Merge pull request #3364 from cg2121/mac-clang-format
CI: Remove clang format Mac check
2020-09-10 17:48:50 -05:00
PatTheMav 13c79618aa
CI: Update notarisation process for Github CI 2020-09-10 23:58:46 +02:00
Colin Edwards 7b4f615ff5 CI: Sign and notarize macOS builds on new tags 2020-09-09 21:11:29 -05:00
PatTheMav ae624f232d
CI: Bump macOS-deps version to include rnnoise 2020-09-09 16:00:03 +02:00
Clayton Groeneveld 8fab74d234 CI: Remove clang format Mac check
It is kind of pointless to have the Mac clang format check
when there is already one on Linux.
2020-08-30 04:39:54 -05:00
Matt Gajownik 592b75d89a CI: Update macOS deps to fix crash from invalid linking 2020-08-29 00:40:45 +10:00
Matt Gajownik 9c68dc6fcf CI: Add Sphinx Docs generator Github Action 2020-08-25 13:22:45 +10:00
PatTheMav 12c3d92345
CI: Add QtNetwork to bundle to restore Streamdeck support 2020-08-12 11:20:50 +02:00
PatTheMav bc3a405445
CI: Update macOS deps version to fix unmet Qt plugin dependencies 2020-08-06 20:03:05 +02:00
PatTheMav 07a899413a
CI: Fix Brew Bundler breaking without prior brew update 2020-07-29 20:30:57 +02:00
derrod b67a238b7c CI: Remove Mixer cmake variables 2020-07-22 07:47:12 +02:00
PatTheMav 68d4df9180
CI: Disable building OBS with Python scripting support on macOS 2020-07-16 19:23:20 +02:00
PatTheMav d94709d945
CI: Update build script to use pre-built SWIG and QT dependencies 2020-07-10 01:01:32 +02:00
Colin Edwards 35088e0d9e libobs: Add sample unit tests leveraging cmocka 2020-06-25 15:21:58 -07:00
Kurt Kartaltepe de74ea8ad9 CI: Require VLC in CI builds, Fix VLC
Previously VLC was downloaded but was skipped since it could not be
found. This sets the VLCPath to ensure it is found.
2020-05-21 19:32:39 -07:00
PatTheMav 78db95049a
CI: Update Github Actions with caching and macOS improvements 2020-05-06 18:27:53 +02:00
Colin Edwards 1ea9943a09 CI: Update macOS deps to fix lua 2020-04-26 18:30:53 -05:00
PatTheMav 24e4a256f7 CI: Add main Github Actions workflow for branch pushes and PRs 2020-04-19 04:07:28 +02:00
Colin Edwards 8b6f6d1c85 CI: Move clang format check into a seperate github workflow 2020-04-09 21:26:41 -05:00
Colin Edwards e99849e1fc
CI: Remove merge conflict bot for now 2020-03-03 20:23:25 -06:00