Commit Graph

111 Commits (0e7f69ee31bb636f5149ca5c0e5e292b1ff4b6c2)

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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
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
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