Commit Graph

157 Commits

Author SHA1 Message Date
Martin Pulec
fd8a6e977a GitHub CI [Linux]: use cmake for build/install instead of make
see also commit f7bf7e9f
2022-11-16 14:40:46 +01:00
Martin Pulec
842a86b82f CI: patch SVT-HEVC patch
again not working
2022-11-16 12:14:22 +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
df4a199ba7 Revert "CI: fixed SVT-HEVC patch"
No longer needed, see:

    https://github.com/OpenVisualCloud/SVT-HEVC/pull/630

This reverts commit e3bfa2b411.
2022-11-10 10:26:13 +01:00
Martin Pulec
02d9c6bd1a ARM CI: install also cppunit (for tests) 2022-11-08 16:49:37 +01:00
Martin Pulec
a082cdaf12 CI tests: replace UG_SKIP_NET_TESTS with GITHUB_REPOSITORY
Automatically ignore network test errors (typically a multicast on mac
and in arm chroot) if run from CI.
2022-11-08 16:49:36 +01:00
Martin Pulec
e3bfa2b411 CI: fixed SVT-HEVC patch
The patch stopped working with current FFmpeg master but a (temporal)
fix is pulled from:

    https://github.com/OpenVisualCloud/SVT-HEVC/issues/627
2022-11-07 08:34:29 +01:00
Martin Pulec
a593be7814 ARM CI: really skip net tests (fix) 2022-11-04 15:38:54 +01:00
Martin Pulec
d5bfa4d3d3 ARM CI: skip net tests 2022-11-04 15:03:02 +01:00
Martin Pulec
9ceec79cdd CI ARM: check the build 2022-11-04 13:56:10 +01:00
Martin Pulec
e3cc4dc46e removed no longer used mksquashfs-compilation-fix.patch 2022-11-01 11:33:23 +01:00
Martin Pulec
fec854b362 CI ARM: replace mkappimage symlink with script
Symlinking AppRun is potentially dangerous if mkappimage used
dirname(argv[0]) instead of /proc/self/exe (which is currently
not the case).
2022-11-01 11:11:46 +01:00
Martin Pulec
9f2e748644 CI ARM: use create-appimage.sh 2022-11-01 11:11:45 +01:00
Martin Pulec
67b717ffcf CI ARM: set curl insecure by default
+ suppress wget not found messsage
2022-11-01 11:11:45 +01:00
Martin Pulec
25a7ab2f55 CI ARM: use mkappimage
Debian 11 also doesn't have fuse 2 installed by default.
2022-11-01 11:11:45 +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
0a894d9f4b CI Linux FFmpeg: disable SDL2
we don't need it as FFmpeg dep and it adds needless dependency
2022-10-24 11:49:22 +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 Piatka
9bde4a99fc CI: ffmpeg: Apply patches in sorted order 2022-09-22 15:53:30 +02:00
Martin Piatka
686b4083e6 CI: arm/ffmpeg: Order unordered patches
Also rename fix flags from .diff to .patch so that it gets actually
applied.
2022-09-22 15:53:30 +02:00
Martin Piatka
256ce75e16 CI: arm: Apply ffmpeg patches in alphabetical order 2022-09-22 15:53:29 +02:00
Martin Pulec
0a5a38d218 CI ARM: shallow clone of FFmpeg
Saves time and space.

+ added the branch to the clone command (otherwise it won't be known in
  the shallow clone)
2022-09-21 15:23:17 +02:00
Martin Piatka
2450e8dea9 CI: update rpi ffmpeg patch
Patch is from https://github.com/RPi-Distro/ffmpeg

The newest patch for 4.3.4 doesn't compile on buster because of
undefined V4L2_CID_CODEC_STATELESS_BASE
2022-09-21 14:03:05 +02:00
Martin Pulec
912cb8ed38 C/C++ CI: added Arch check
- check appimage with Arch and --capabilities - this catches segfault
  with incompatible jack implementation in bundle and system
  (pipewire-jack package needed)
- use empty directory for container build (instead of ".") also for
  Ubuntu (would not needlessly copy contents of current directory to
  Docker daemon)
2022-09-14 11:50:08 +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
f0e3022b70 shellchecked .github/scripts/Linux/**/*sh 2022-09-08 13:54:43 +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 Piatka
168dee12ce CI: Update svt-av1 repo URL 2022-08-05 15:52:06 +02:00
Martin Pulec
356b622889 testcard: get rid of SDL_mixer
SDL_mixer has some nasty dependency on JACK so remove it altogether
since it is perhaps seldom used (the MIDI playback may be added later
eg. as a standalone audio capture).

(see GH discussion #241)
2022-07-27 09:05:56 +02:00
Martin Pulec
053e469c8b Revert "GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9"
This reverts commit 9fbd18b53d.
2022-06-16 11:34:21 +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
d64468545b lavc: enable intra-refresh for NVENC with patch
see commits e3c926c8 and 1f735a93

We patch FFmpeg in Linux CI builds so if it is patched, intra-refresh
sitll can be enabled, even though not by default.
2022-04-22 11:32:53 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Pulec
5119d6f685 CI Linux: disable SVT HEVC FFmpeg patch again
Due to changes from 30th Mar '22, the patch is incompatible again.
2022-04-11 16:35:39 +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
7f96dab49d Partially revert "GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9"
This partially reverts commit 9fbd18b53d.

Note: VP9 patch is still not working.
2022-03-28 09:11:34 +02:00