Commit graph

1639 commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks
b4e6bb57e4 code: Migrate ui::handler to new dynamic loader 2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
acf4dde783 code: Migrate encoder::ffmpeg to new dynamic loader 2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
66698ef938 code: Migrate obs::source_tracker to new dynamic loader 2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
2f362efa38 code: Migrate configuration to new dynamic loader 2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
5ed2010015 code: Migrate util::threadpool to new dynamic loader 2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
49f763aa44 code: Add a proper dynamic loader for components
This loader model should have wider compatibility, as it relies on defined C++ behavior instead of undefined preprocessor behavior. We may even be able to implement a simple dependency system that automatically sorts components into the correct order.
2023-05-14 09:14:29 +02:00
Michael Fabian 'Xaymar' Dirks
65c45c4461 code: Fix version comparison logic
This is a lot more complex that I expected it to be.
2023-05-14 06:35:36 +02:00
Michael Fabian 'Xaymar' Dirks
0439fddabd cmake: Generate properly formatted versions from git 2023-05-14 06:35:36 +02:00
Michael Fabian 'Xaymar' Dirks
7237d8826f ci: Build libOBS with MSVC on Windows
obs-studio does not yet support ClangCL, resulting in a broken build. We don't want to check if obs-studio is broken, we only want to check if StreamFX is broken.
2023-05-14 04:47:30 +02:00
Michael Fabian 'Xaymar' Dirks
4b0e00bc54 ci: GitHub Actions does not correctly transform github.workspace here 2023-05-14 04:47:30 +02:00
Michael Fabian 'Xaymar' Dirks
59d3781269 ci: Don't use caches from a different compiler 2023-05-14 04:24:06 +02:00
Michael Fabian 'Xaymar' Dirks
b5a4adb8fb ci: Fix CI failure 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
b344ec4dd9 ci: StreamFX's CMake requires ..._DIR not CMAKE_PREFIX_PATH 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
5fcb592c65 ci: Let compiler figure out what linker to use
This is broken somehow. Can't be bothered to fix it - works without it anyway!
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
7c44157d59 patches: Add patch to disable treating warnings as errors 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
8242c6be0f ci: Apply patches to obs-studio 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
21bb80475b third-party: Update obs-studio to 29.1.1 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
f8b02b0879 patches: Add patch to disable invalid flags
The affected file checks for the host system, instead of the target system. This is incorrect on every platform, and invalid CMake behavior.
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
2b5d2fbe9e project: Add guideline for patches 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
b6ea9b3c5a ci: Ignore GCC-11 on Ubuntu 22, and fix some missing CMake flags 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
2478bb4308 ci: Add some messaging for better log debugging 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
2e1f00d04d ci: Reduce the number of compilers, and remove some purge statements 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
0765e41063 tools: Remove additional / in header 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
f315544808 ci: Shrink the purge a bit 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
03087257df ci: Purge unwanted compilers 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
4a37e8e09e ci: Enable LTO project-wide 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
bfc3560dd9 ci: Potentially fix ambiguous redirect and fix clang on Ubuntu 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
3284b490ca ci: Fix last commit 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
b6391f13f8 ci: Add more compilers to Ubuntu
May help us figure out unexpected incompatibilities in the future. While we still require C++14 or later, and may even upgrade to C++17 eventually, this should address some concerns about compatibility.

Plus it makes it easier to support things like Flatpak
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
a5f07e8228 ci: Prefer RelWithDebInfo over Release 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
25c1388050 ci: Don't use libobs-dev on Ubuntu
The provided libobs-dev does not match CMake standards (LibObs instead of libobs like on all other platforms). It also does not provide the obs-frontend-api, or any other required files.
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
05ded838e5 ci: Actually write obs-studio version to environment 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
a5e55c42d4 ci: Fix missing matrix.qt and fix libobs path on Ubuntu 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
a981b45077 ci: Fix naming of workflows on Ubuntu 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
d0b7d80b81 ci: Fix another error introduced by the split 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
b662f32166 ci: Fix some workflow errors introduced by the split 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
0e1db7fad5 ci: Split workflows by platform
This splits the whole thing by the supported platforms to hopefully aid with future problem searching. While the combined script was nice, and allowed reducing the working overhead significantly, it also had collisions in what should have been defined.
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
4b28f87d5c ci: Just disable the warning/error mess 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
461acec47d ci: More attempts at fixing whatever breaks XCode 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
7d3e3ec1b5 ci: Update to LLVM/Clang 16.0.3 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
1d1db7c994 ci: Mixed up URL and Hash 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
7cd8ab8da2 ci: Another attempt at fixing GITHUB_ENV issues
Why has the previous code worked? Did it ever work?
2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
ceca90fa38 ci: Attempt to fix env issues 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
12434db5e4 ci: Remove additional $ from command 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
ace861c578 tools: Fix header generation for new files 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
acef006198 ci, tools: Use new buildspec.json for depedendencies 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
fa8d66b951 code: Disable useless alignment styling and update standard 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
c000061758 cmake: Fix version(REQUIRE) statement 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
af41557e4d cmake: Require CMake 3.26 configuration 2023-05-14 03:25:07 +02:00
Michael Fabian 'Xaymar' Dirks
d2dbb3335d ci: Remove libOBS cache
Might fix the weird issue with additional compiler flags being set.
2023-05-14 03:25:07 +02:00