Commit Graph

500 Commits

Author SHA1 Message Date
Martin Piatka
0149ea3fdf CI: Apply vaapi compatibility patch on 20.04 too 2023-04-04 11:42:55 +02:00
Martin Piatka
eb7406f06e CI/Linux: Migrate to Ubuntu 20.04 2023-04-04 10:46:16 +02:00
Martin Pulec
28431e2784 ARM CI: fixed cron schedule line
fixes commit 88d7d1eb
2023-03-29 14:54:18 +02:00
Martin Pulec
88d7d1eb8a CI ARM Linux: run every week on Thursday
Caches are deleted if not used for 7 days so if run every week, the
cached environment remains preserved.
2023-03-24 14:06:50 +01:00
Martin Pulec
4f1c1e8999 CI Windows: use curl in bash instead of pwsh 2023-03-23 09:31:34 +01:00
Martin Pulec
4cd7301fae CI Windows: use yaml shell directive
Use MSYS2 shell for Windows runner by default. This makes the workflow
job somehow more natural and easier.

+ `command -v windeployqt-qt6 >/dev/null` was incorrectly in $()
2023-03-23 09:30:49 +01: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
66678e6d83 Coverity CI: install deps
Install FFmpeg and SDL2 from repositories (in C/C++ CI are used custom
builds for those).
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
ece4f2d1ca CI Linux x86-64: ensure accels are compiled-in 2023-03-15 09:06:15 +01:00
Martin Pulec
f293d9708d configure: simplified sdl handling
+ do check only if needed
2023-03-14 13:21:21 +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 Pulec
350489d8e1 CI: require screen capture module
but require only X11 capture in Linux for now (Ubuntu 18.04 is difficult
to compile required PipeWire version).
2023-02-21 08:55:48 +01:00
Martin Pulec
4e43d566fd CI: fix Windows build upload workaround
Used msys/curl instead of clang64/mingw-w64-clang-x86_64-curl for the
upload.

For whatever reason, the other curl variant ceased to collaborate with
GitHub, see failed run (and subsequent ones):

    https://github.com/CESNET/UltraGrid/actions/runs/4223917061/jobs/7334218587

I didn't manage to reproduce it on a local Windows machine so there is
perhaps some hidden factor present.

This change is just a workaround and should be removed when not needed.
2023-02-20 16:58:00 +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