45 Commits

Author SHA1 Message Date
Martin Pulec
45bb28c9a0 CI: enable SVT-JPEG-XS
only for Win + non-ARM Linux - doesn't seem to be officially supported
in neither ARM nor macOS

configure.ac - require just SVT-JPEG-XS 0.9 as is in msys Win package
(proxy mode commented out - isn't needed to set to "proxy_mode_full"
explicitly, anyways)
2026-02-27 09:22:09 +01:00
Martin Pulec
1a1bee8a29 CI Linux: simplify caches
handle cache build/install (transitively) in prepare.sh
2025-08-28 09:19:55 +02:00
Martin Pulec
937d07ded2 CI: fix XIMEA URL 2025-04-04 11:58:23 +02:00
Martin Pulec
5bd65911cd CI: remove U20.04 compat
+ update TODO for pipewire where still neeeded for Debian 11
2025-03-27 07:36:11 +01:00
Martin Pulec
2fbcf4f7bf Revert "CI Linux: XIMEA install workaround"
This reverts commit 7162decfb7.
2025-03-18 14:08:40 +01:00
Martin Pulec
65d886746f Revert "CI Linux: install pipewire with distro pkg"
ARM builds still use Debian 11, for which that is needed.

This reverts commit 35e30cd58c.
2025-03-11 14:16:07 +01:00
Martin Pulec
35e30cd58c CI Linux: install pipewire with distro pkg
+ remove explicit libdav1d install (already in FFmpeg build-dep)
2025-03-10 10:47:15 +01:00
Martin Pulec
223f2b95a1 Revert "Reapply "CI Linux: use Vulkan directy from repo""
This reverts commit 91b56cddab.

The ppa:savoury1/ffmpeg4 repo is no longer used with ubuntu-22.04
runner but FFmpeg currently needs Vulkan v1.3.277 ibut the distro has
only 1.3.204.
2025-03-07 09:03:17 +01:00
Martin Pulec
b64804cea0 CI Linux: utilize continuous GPUJPEG build from GH
advantages:

- it saves some build time (approx. 25 sec)
- it is compatible with Windows CI where the binary build is used as well
- reduces complexity by delegating the build to GPUJPEG CI
2024-08-14 10:42:01 +02:00
Martin Pulec
d371815308 CI Linux: build GJ for CC 3.5
As it is now common also for different CUDA stuff and GPUJPEG binary CI
builds themselves (but used only for Win), build also for CC 3.5 (Kepler
cards), which will be still supported for very short amount of time
(but as there will be builds, those can be used in future also on such
a cards, even if the support will be dropped from UG further).
2024-08-09 09:23:01 +02:00
Martin Pulec
91b56cddab Reapply "CI Linux: use Vulkan directy from repo"
with the ppa:savoury1/ffmpeg4 (previous commit) no longer needed

This reverts commit 8922476204.
2024-07-16 16:20:39 +02:00
Martin Pulec
09eb5411ed print NDI ver: use NDIlib_version()
Note that the printed now is the runtime version, while in the previous
version it wash the version used (just) for the compilation. Current
inmplementation seem to be better, anyways.
2024-06-25 15:08:29 +02:00
Martin Pulec
b88d0c4218 CI NDI: do not repeat downloads in install scripts
NDI SDK should be already downloaed from the step before in the YAML.
2024-06-25 15:08:26 +02:00
Martin Pulec
bd91d16b27 CI: common live555 handling 2024-05-31 16:04:45 +02:00
Martin Pulec
d3e7abf213 CI libajantv2: install in a common script 2024-05-31 16:04:44 +02:00
Martin Pulec
3cbd01a8e6 CI mac: use libajantv2
move cmake call with flags to a common function
2024-05-31 16:04:44 +02:00
Martin Pulec
f77763dcd5 CI Linux: use libajantv2
also build the library shared
2024-05-31 16:04:44 +02:00
Martin Pulec
9aada40c4e Revert "CI FFmpeg Linux: pin Vulkan-Headers"
No longer needed. Moreover, this now prevents the FFmpeg build.

This reverts commit b8f4d15df4.
2024-04-08 10:38:24 +02:00
Martin Pulec
f5467237ae CI Linux: download rav1e build instead of building own
Building rav1e requires nasm 2.15 (if asm is not disabled) while U20
has just 2.14.02, so that the build in CI currently fails, anyways.

Pick sse4 for now but expect using avx2 version later, depending on
UG_ARCH value.

\+ populate PKG_CONFIG_PATH immediately
2024-03-20 14:16:08 +01:00
Martin Pulec
b8f4d15df4 CI FFmpeg Linux: pin Vulkan-Headers
FFmpeg doesn't currently build with current version of Vulkan-Headers.

See failed run:
<https://github.com/CESNET/UltraGrid/actions/runs/7842879019/job/21402069840>
2024-02-09 12:12:47 +01:00
Martin Pulec
be84cf8ab0 CI: limit CMake build with logical cores
This fixes all occurences of `cmake --build` as it already was in one
case with commit HEAD~7.

If omitted, CMake leaves the number of processes used on underlying
implementation, which turns out to `make -j`, thus unlimited number of
cores, which is undesirable.
2024-01-25 17:07:42 +01:00
Martin Pulec
0c2a074c28 Revert "CI Linux: fixed failed run (Vulkan)"
VulkanLoader has been updated, with the CUDA _EXT prefix, which is on
contrary incompatible with Vulkan-Headers v1.3.270.

This reverts commit 62ae77117d.
2023-11-28 08:39:43 +01:00
Martin Pulec
62ae77117d CI Linux: fixed failed run (Vulkan)
fixed failed run:
<https://github.com/CESNET/UltraGrid/actions/runs/7002907554/job/19047571995>

Vulkan-Loader seem to be (temporarily?) incompatible with current Vulkan
Headers, which suffix VK_DEBUG_REPORT_OBJECT_TYPE_CUDA_FUNCTION_NV with
_EXT in v1.3.271.
2023-11-27 10:54:07 +01:00
Martin Pulec
040a6797f2 CI scripts: ennsure that really copying to dir
Following to the previous commit, ensure that we are really copying to
an existing dir, where it is expected by appending '/' to the path.
2023-11-20 08:09:13 +01:00
Martin Pulec
a7f801e44e CI ARM: fixed XIMEA installer URL
Linux ARM installer are no longer part of Linux package but have a
separate one. See failed run:
<https://github.com/CESNET/UltraGrid/actions/runs/6622231780/job/17987434585>
2023-10-24 09:20:33 +02:00
Martin Pulec
7162decfb7 CI Linux: XIMEA install workaround
XIMEA instller is currenctly broken (missing file bin/streamViewer.64
in the package). See failed run:
<https://github.com/CESNET/UltraGrid/actions/runs/6589401467/job/17903829041>
2023-10-23 09:10:12 +02:00
Martin Pulec
69faff2335 CI PipeWire: disable tests
Building tests is not unneeded in CI and it needlessly increases build
time, especially for ARM builds, which are slow.
2023-10-18 16:46:19 +02:00
Martin Pulec
23ca13c724 CI ARM: build PipeWire 2023-10-18 16:46:19 +02:00
Martin Pulec
3543f187f1 CI Linux FFmpeg: enable Vulkan 2023-08-23 14:14:40 +02:00
Martin Pulec
8922476204 Revert "CI Linux: use Vulkan directy from repo"
FFmpeg Vulkan support requires at least Vulkan headers v1.3.238 but
Ubuntu 20.04 has only 1.2.131.

This reverts commit 8cb7e7e779.
2023-08-23 14:14:40 +02:00
Martin Pulec
6f6ef9d691 CI Linux/install_others.sh: not use lsb_release
lsb_release command is not always present, even in Ubuntu, wheresas
/etc/lsb-release file is but it isn't necessarily in all distros,
eg. Arch doesn't have it by default.

+ install libdbus-1-dev dependency - not needed for the CI because there
  it is at this point already installed but the script can be used also
  to setup the environment outside GitHub CI
2023-07-24 14:48:12 +02:00
Martin Pulec
b2777c0909 CI Linux: use GH mirror for PipeWire
Doesn't fail if the master repo is temprorarily unavailable as in:

    https://github.com/MartinPulec/UltraGrid/actions/runs/4627178136/jobs/8184796245
2023-04-06 11:18:25 +02:00
Martin Pulec
ea9e454a80 CI Linux: enable pipewire screen cap 2023-04-05 09:49:34 +02:00
Martin Pulec
8cb7e7e779 CI Linux: use Vulkan directy from repo 2023-04-05 08:25:49 +02:00
Martin Pulec
74e0e9e2dc shellchecked .github/scripts/Linux/install_others.sh
fixed a shellcheck warning
2023-03-20 16:54:12 +01:00
Martin Pulec
7ee05dfefd Coverity CI: ensure that NDI is downloaded
Since the commit ee317947, CI-cached NDI installer in Linux was expected
to be downloaded, but this was not true for the Coverity CI, so add the
download to the job as well as a fallback to the script.

fixes failed run

    https://github.com/CESNET/UltraGrid/actions/runs/4464606369/jobs/7840900109
2023-03-20 16:54:12 +01:00
Martin Pulec
61ba4e58b8 CI ARM Linux: install XIMEA+natpmp 2023-03-16 14:00:22 +01:00
Martin Pulec
0afadd4c41 CI Linux/install_others.sh: small improvement
make deps in /var/tmp implicitly
2023-03-16 14:00:22 +01:00
Martin Pulec
0537b33863 CI Linux/install_others.sh: do not require sudo
is not present in ARM workers
2023-03-16 14:00:21 +01:00
Martin Pulec
ee3179472b CI Linux/install_others.sh: fail if cached installer not found
The feature is relied upon, anyways, so it is better to fail early if we
cannot install NDI.
2023-03-16 14:00:21 +01:00
Martin Pulec
8cdabc3655 CI Linux: do not install NDI lib
not needed for compilation
2023-03-16 14:00:21 +01:00
Martin Pulec
bd1f7d415e CI Linux install_other.sh: option to specify one dep 2023-03-16 14:00:21 +01:00
Martin Pulec
d7ae1de568 CI Linux install_others: live555 to function 2023-03-16 14:00:21 +01:00
Martin Pulec
21cc7be8c7 CI Linux: enable Vulkan
enabled Vulkan build on U18.04 runner
2023-01-17 08:56:32 +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