Commit Graph

380 Commits

Author SHA1 Message Date
Martin Piatka
eb7406f06e CI/Linux: Migrate to Ubuntu 20.04 2023-04-04 10:46:16 +02:00
Martin Pulec
f7c0e8b138 CI Windows: update CUDA to 12.1 2023-03-22 15:51:05 +01:00
Martin Pulec
43ccb95a02 .github/scripts/environment.sh: small improvements 2023-03-21 14:02:25 +01:00
Martin Pulec
212c61739c updated SVT-VP9 patch 2023-03-21 08:21:17 +01:00
Martin Pulec
f9ad9558b8 CI Linux FFmpeg: use a mirror for nv-codec-headers
The master repo https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
is currently unresponsive. The mirror would be perhaps more reliable
since it is hosted on the GitHub, anyways.
2023-03-20 16:54:28 +01:00
Martin Pulec
f6dbfe1b85 CI Linux: removed libx11-dev
this should be no longer required to be installed explicitly
2023-03-20 16:54:28 +01:00
Martin Pulec
eaff363e93 CI Linux: install magickwand
For Coverity CI, it is not installed automatically as it is in C/C++ CI
(most likely build req for FFmpeg).
2023-03-20 16:54:28 +01:00
Martin Pulec
e8b6fc7b09 .github/scripts/environment.sh improvements
- fixed a shellcheck warning
- documentation
- removed shebang and executable bit to ensure script is sourced
2023-03-20 16:54:28 +01:00
Martin Pulec
c3660529ac CI: moved configure features to environment.sh
- the yaml file is less messed
- all platform features are put together without being spread across the
  respecive jobs in the yaml
- $FEATURES are now used also by Coverity CI
2023-03-20 16:54:15 +01: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
f0f00e0b0c CI ARM Linux: enable caca 2023-03-16 14:00:22 +01:00
Martin Pulec
d0a767cce7 CI ARM Linux: build text postprocess 2023-03-16 14:00:22 +01:00
Martin Pulec
d506a174d6 CI ARM Linux: enabled also OpenCV-depending mods
added resize and video mixer
2023-03-16 14:00:22 +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
25881d6feb CI ARM Linux: install NDI 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
70808fcc55 CI ARM: removed repo workaround
seems no longer valid (U22.04 GitHub host worker)
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
2295b6a109 CI ARM: enable holepunch,speex,ews and zfec
- cmake needs to be held in a specific version because the more current
  version doesn't work with chrooted qemu-user-static arm
2023-03-16 14:00:20 +01:00
Martin Pulec
3235dbba53 CI ARM: copy whole .github subdirectory
there will be another files, like install-common-deps.sh that can be used
2023-03-16 14:00:20 +01:00
Martin Pulec
e46d5cfed3 CI ARM: configure - require present features
Explicitly require features that are already present in the builds
(tenative, some may be removed, but just to ensure that features that
should be present get not removed by accident).
2023-03-15 15:33:44 +01:00
Martin Pulec
42af0b8846 CI ARM: install libsoxr
To be consistent for arm64 builds (no Raspberry) with armhf, where the
package is already implicitly installed.
2023-03-15 10:21:46 +01:00
Martin Pulec
faaebc8e06 CI Linux: ensure that GUI doesn't fail in first 10 secs 2023-03-14 09:59:27 +01:00
Martin Pulec
6b0974d6c3 CI Windows/prepare_msys.sh: use shorter repo prefix
use shorter environment variable for the prefix (readability)
2023-03-09 14:03:55 +01:00
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
1680fc858e CI Linux FFmpeg: patch SVT-VP9 patch 2023-03-07 15:45:35 +01:00
Martin Piatka
d991cfceaa CI: Fix libde265dec patch
AV_CODEC_CAP_AUTO_THREADS was removed in ffmpeg commit 10c9a08
It was replaced by AV_CODEC_CAP_OTHER_THREADS (same macro value)
2023-02-20 13:17:20 +01:00
Martin Pulec
498605df74 macOS: replace altool with notarytool 2023-02-17 19:03:56 +01:00
Martin Pulec
e079acbeb4 CI macOS: add readline to PKG_CONFIG_PATH
brew port readline is no longer liked to system path by default.

Fixes failed build:

    https://github.com/MartinPulec/UltraGrid/actions/runs/4202715324/jobs/7291225396
2023-02-17 14:36:44 +01:00
Martin Pulec
c79e9b9338 Revert "CI: patch SVT-HEVC patch"
This reverts commit 842a86b82f.

no more needed, patch was rebased in upstream
2023-02-08 12:48:48 +01:00
Martin Pulec
db308b1701 CI FFmpeg Linux: use Git HEAD from cartwheel-ffmpeg
Patching to master sometimes produces wrong code:

    https://github.com/MartinPulec/UltraGrid/actions/runs/4083831573/jobs/7039818067

The cartwheel submodule is updated reasonably fast so we can keep this
for now.
2023-02-03 14:10:57 +01:00
Martin Pulec
1d3890a671 CI FFmpeg Linux: old libva compatibility 2023-01-20 14:28:29 +01:00
Martin Pulec
a30a8945e3 CI Linux FFmpeg: apply cartwheel patches
This fixes encoding of VUYA and XV30 for Intel Xe Graphics (i7-1260P)
with hevc_qsv.
2023-01-20 13:31:20 +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
8c075d9220 CI: AOM AV1 U18.04 build fix 2023-01-20 13:29:21 +01:00
Martin Pulec
79bfc80fed Revert "GitHub CI Win: curl ca-cert path error workaround"
no longer needed - this has already been fixed in MSYS upstream

This reverts commit 07f5031c70.
2023-01-19 10:10:12 +01:00
Martin Pulec
07f5031c70 GitHub CI Win: curl ca-cert path error workaround
to mitigate some CA bundle path error with mingw-w64-clang-x86_64-curl

    curl: (77) error setting certificate file: C:/msys64/clang64/ssl/certs/ca-bundle.crt

(eg. in https://github.com/MartinPulec/UltraGrid/actions/runs/3946986623/jobs/6755674412)

there should be etc in the path (.../clang64/etc/ssl/...)

This commit should be reverted when fixed in MSYS builds, so:

    /clang64/bin/curl -LS https://raw.githubusercontent.com/hellerf/EmbeddableWebServer/master/EmbeddableWebServer.h

succeeds (without having `/clang64/ssl/certs/ca-bundle.crt` manual copy)
2023-01-18 11:39:04 +01:00
Martin Pulec
e83fdcadb3 configure: link with libMoltenVK on macOS
+ install MoltenVK with CI
2023-01-17 14:25:09 +01:00
Martin Piatka
d3871758eb CI/Linux: Use 2.x branch for SDL_mixer
The master branch is now SDL3 and among other changes it now uses cmake
instead of autotools.
2023-01-17 13:31:54 +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
8efdce2337 CI: fixed Windows natpmp build error
Fixes failed run  https://github.com/CESNET/UltraGrid/actions/runs/3894640814/jobs/6648919900.

cmd.exe script for unknown reason ceased to work, copied appropriate
parts of script to our script.

+ use shell debug flag for the script
2023-01-12 10:50:47 +01:00
Martin Pulec
9dcceaf3f3 CI: pass GITHUB_TOKEN to bypass rate limiting
see https://github.com/MartinPulec/UltraGrid/actions/runs/3821590834/jobs/6500891823
2023-01-02 11:18:04 +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