Commit Graph

83 Commits

Author SHA1 Message Date
Martin Pulec
449c03dfcd CI: added caca 2023-03-09 13:27:47 +01:00
Martin Pulec
56ecf79f06 removed remaning cppunit bits 2023-03-07 15:45:46 +01:00
Martin Pulec
fc4ee41994 CI Linux: set git user identity
otherwise 'git am' fails
2023-01-20 13:31:20 +01:00
Martin Pulec
6bdbf6ff58 CI: avoid missing debhelper-compat(=12) on U20.04
see failed run https://github.com/CESNET/UltraGrid/actions/runs/3657908562

See also 438dbfa4 - `aptitude build-dep` for whatever reason fails on GH
CI ON installation of debhelper-compat(=12), which is a virtual package
provided by debhelper, apt doesn't.

log:

    + sudo aptitude -y build-dep libsdl2-mixer libsdl2-ttf libsdl2-dev:
    [...]
    Building tag database...
    Unable to apply some actions, aborting
    Unable to satisfy the build-depends: Build-Depends: debhelper-compat (= 12)
2022-12-09 17:16:57 +01:00
Martin Pulec
bfe2ee4255 CI Linux FFmpeg: add openVPL
refer to GH-270
2022-12-09 10:52:07 +01:00
Martin Pulec
207874398b CI FFmpeg Linux: added libde265
with own patch
2022-12-02 11:15:21 +01:00
Martin Pulec
f7bcf8258d CI Linux: do not apt upgrade
It should not be necessary. The distro is quite bulky and it would
update things like PHP etc. and wastes relatively significant time
(approx. 15 minutes - bootstrap time was reduced from 20 to 5 mins).
2022-11-22 16:37:16 +01:00
Martin Pulec
438dbfa465 CI: fixed debhelper-compat(=12) not found for SDL2
Fixed a fail in U20.04 (currently GH's ubuntu-latest) affecting
coverity-scan (continuous still using 18.04):

    https://github.com/CESNET/UltraGrid/actions/runs/3506409582

A dependency of libsdl2 debhelper-compat=12 is not available. apt
frontend can handle that somehow, but aptitude doesn't, so use apt to
install SDL2 dependencies (aptitude still used for mixer and ttf to
avoid installation of libsdl2 library itself).
2022-11-21 14:17:02 +01:00
Martin Pulec
4cba76e800 CI Linux: moved the code around a bit
It seems like that changing arbitrary packages installed (dependencies
for SDL) cause some FFmpeg dependencies to be rebuild (libvpx, SVT-*).

So revert back to depending on whole .github/scripts/Linux/prepare.sh
but move building/installation of AJA, live555 etc. to separate file
to reduce cached FFmpeg rebuilds at least a bit.

+ removed chmod 777 /usr/local
2022-11-16 11:15:43 +01:00
Martin Pulec
868ddab9be CI Linux: cache built SDL 2022-11-16 11:13:27 +01:00
Martin Pulec
603d5f8b6d CI: added Soxr 2022-10-26 09:20:49 +02:00
Martin Pulec
dae8192c4d CI Linux: build own SDL2
This fixed crashing on Wayland (only - Weston without XWayland) in both U20.04 and
U22.04.
2022-10-24 15:06:23 +02:00
Martin Pulec
8ff9156b53 CI Linux: moved FFmpeg deps install to sep file
The file with dependencies installation is a prerequisity for FFmpeg
rebuild so move it to a smaller file to reduce number of required FFmpeg
rebuilds if that file changes.

Install libopencv-core-dev instead of libopencv-dev because it
transitively (libopencv-highgui-dev) depend on libswscale-dev that is
going to be removed.
2022-10-21 14:45:18 +02:00
Martin Pulec
b15e0086a9 CI Ubnutu: APT - write deb-src separate file
Write deb-src to a separate file in /etc/apt/sources.list.d/. Someone is
rewriting /etc/apt/sources.list. See failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/3286915245
2022-10-20 13:09:22 +02:00
Martin Pulec
71ec5f5cf7 Revert "CI: removed SDL2_mixer"
This reverts commit d547bcb9e3.

Now used by MIDI audio capture.
2022-09-12 16:44:04 +02:00
Martin Pulec
8bb3026f27 shellchecked .github/scripts/*/prepare.sh 2022-09-08 11:13:47 +02:00
Martin Pulec
ae7610e19b CI: Cineform build - factor common code
generalize compilation for Linux+mac
2022-09-08 11:13:44 +02:00
Martin Pulec
59871a6850 CI [Linux]: removed custom SDL2 repo
See #168 - according to the testing, the fix may already have been
applied upstream (in Ubuntu distro SDL2 package, although minor version
has not changed).
2022-09-06 16:25:30 +02:00
Martin Pulec
a2f5a78c09 CI: replaced removed PPA for SDL2
The previous seem that hasn't been used in recent builds anyways
(perhaps packages were removed from the repository earlier?).
2022-08-26 15:49:55 +02:00
Martin Pulec
d547bcb9e3 CI: removed SDL2_mixer
no longer used by testcard2
2022-08-26 15:49:36 +02:00
Martin Pulec
720009aea4 GitHub CI Linux: disable GL suppoort for GPUJPEG
This support is currnetly unused by UltraGrid and adds libOpenGL.so.o
GPUJPEG dependency:

https://cmake.org/cmake/help/v3.22/module/FindOpenGL.html#linux-specific

Since we don't need this, it is best to disable GPUJPEG OpenGL support.
2022-08-10 08:14:08 +02:00
Martin Pulec
49fe808693 GitHub CI Linux: CUDA_HOST_COMPILER no longer needed 2022-08-10 08:14:07 +02:00
Martin Pulec
d38410e13d GitHub CI Linux GPUJPEG: revert to cmake
This reverts 2c90fee5 that is hopefully no longer needed.

+ use function for the build instead of a nasty one-liner
+ parallel build
2022-08-10 08:14:07 +02:00
Martin Pulec
4089f2e3ef CI: AJA cleanup 2022-06-14 14:12:57 +02:00
Martin Pulec
64562d5d55 CI: use AJA from GitHub [Linux]
NTV2 SDK is now open source and hosted on GitHub.
2022-06-14 11:36:58 +02:00
Martin Pulec
735428abd2 AppImage: fixed appsteam+validation 2022-05-30 15:52:03 +02:00
Martin Pulec
3817102bb9 CI: do not install glib (see previous commit) 2022-05-02 16:12:33 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Piatka
b3389d1c56 Github CI: Install GLM from repositiories 2022-03-29 13:41:21 +02:00
Martin Pulec
14a3e51bb0 Revert "CI Linux: XIMEA install workaround patch"
This reverts commit e668a93fac.
2022-03-28 09:55:53 +02:00
Martin Pulec
e668a93fac CI Linux: XIMEA install workaround patch 2022-03-25 10:25:45 +01:00
Martin Pulec
15f49a2788 moved bootstrap_gpujpeg.sh to ext-deps
+ updated the script to work from any UG repo subdir (not only top level)
2022-02-03 15:41:10 +01:00
Martin Pulec
dea2c0a5aa GitHub CI [Linux, Mac]: install Cineform normally
In order not to depend on hard-coded path.
2022-02-03 15:41:09 +01:00
Martin Pulec
fb1bd77bfb GitHub CI: download zfec/cineform directly from upstream
+ removed gpujpeg/cineform from monitored paths in workflow file
2022-02-03 15:41:08 +01:00
Martin Pulec
f783eec25c GitHub CI [Linux]: continue also without NDI
for Coverity checks that are without it
2022-01-26 08:22:41 +01:00
Martin Pulec
fe0a807e52 GitHub CI [Linux]: ensure DejaVu fonts installed
Ensure that DejaVu fonts are installed since create_appimage.sh expects
those fonts to be present.
2022-01-21 10:33:24 +01:00
Martin Pulec
587e829387 GitHub CI: enable testcard2 2022-01-19 17:02:42 +01:00
Martin Pulec
bc455b8605 GitHub CI: download NDI directly from NewTek
and build it unconditionaly.
2022-01-12 13:48:00 +01:00
Martin Pulec
4685a2cb84 GitHub CI: build NDI by default if SDK is found
Removed separate NDI handling (branch ndi-build and build it as upstream (if SDK is found)
since NDI is now dynamically runtime loaded.
2022-01-12 13:47:59 +01:00
Martin Pulec
e04b6986a9 GitHub CI [Linux]: bundle i965-va-driver-shaders
Bundle i965-va-driver-shaders instead of i965-va-driver. This should be
superior:

"This package contains also contains the non-free encode shaders for
VP8, VP9, HEVC and AVC for generation 7.5 hardware or newer."
2021-11-26 09:57:44 +01:00
Martin Pulec
f3a4408eb9 GitHub CI [Linux, FFmpeg]: enable dav1d 2021-08-18 23:45:17 +02:00
Martin Pulec
1769deb53d GitHub CI [Linux, FFmpeg]: use newer x265 2021-08-18 23:19:19 +02:00
Martin Pulec
1fbdb737b4 GitHub CI [Linux]: use updated SDL2 build to fix issues 2021-07-27 11:32:34 +02:00
Martin Pulec
eb7977c8d8 GitHub CI [Linux, FFmpeg]: build rav1e
+ do not use yasm for SVT - nasm-mozilla (nasm 2.14) installed in
this commit is sufficient
2021-07-21 14:56:24 +02:00
Martin Pulec
5286918f14 GitHub CI: support for NDI 5
macOS and Linux would still compile with NDI 4, Windows requires NDI 5
now.
2021-07-20 14:10:48 +02:00
Martin Pulec
7b30ac5e2c GitHub CI [Linux]: use system nasm
Ubuntu 18.04 already has nasm 2.13 so there is no need to compile it
from sources.
2021-07-13 15:10:53 +02:00
Martin Pulec
b60dcb283a GitHub CI: fixed unbound variables
FEATURES may not be defined in other workflows than C/C++ CI.
2021-05-20 09:41:44 +02:00
Martin Pulec
986da3414b GitHub CI [Linux]: fixed MagickWand removal
MagickWand depends on libvpx3 thus it cannot be removed.
2021-05-08 16:55:30 +02:00
Martin Pulec
15e655fa9e GitHub CI: parallel build of some deps 2021-05-08 16:05:48 +02:00
Martin Pulec
c1bdf897bb GitHub CI [Linux]: another build fix
Weirdly the run 382 failed on nginx unsatisfied dependencies, so
explicitly removing it.
2021-05-08 15:58:09 +02:00