Commit graph

312 commits

Author SHA1 Message Date
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
Colin Edwards 53e01617c9
CI: Add github workflow to tag merge conflicts 2020-02-17 13:48:07 -06:00
Matt Gajownik b13b7f101a
GitHub: Add funding buttons 2019-05-23 18:58:20 +10:00