Commit Graph

354 Commits

Author SHA1 Message Date
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
d0224f6b2e .github/scripts/macOS/sign.sh: used shellcheck
Incorporated shellcheck complains.
2022-07-12 11:53:48 +02:00
Martin Pulec
c7a251f327 CI sign.sh [mac]: return 0 on pull request
On pull request, the repository secrets are not available.
2022-07-12 11:32:57 +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
00c177d6f2 CI: use AJA from GitHub [Win] 2022-06-14 14:11:50 +02:00
Martin Pulec
47d8fd5143 CI: use AJA from GitHub [mac] 2022-06-14 11:36:58 +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
b6160ef916 CI mac GLFW: host non-upstream changes on GH 2022-06-01 16:03:18 +02:00
Martin Pulec
29037018fe GH continuous desc: ARM builds are built monthly 2022-06-01 11:22:02 +02:00
Martin Pulec
735428abd2 AppImage: fixed appsteam+validation 2022-05-30 15:52:03 +02:00
Martin Pulec
189c2b4211 AppImage: use static runtime
Ubuntu 22.04 no longer contains libfuse.so.2 but ships libfuse.so.3
instead preventing AppImage from run (dlopens version 2).
2022-05-30 15:51:50 +02:00
Martin Pulec
656e6fa107 CI: run on pull request 2022-05-10 11:16:18 +02:00
Martin Pulec
5313a3421f C/C++ CI: fixed failed run 658
Fixed failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/2274530865
2022-05-05 14:09:24 +02:00
Martin Pulec
3817102bb9 CI: do not install glib (see previous commit) 2022-05-02 16:12:33 +02:00
Martin Pulec
12c6c76655 fixed pacman auto-confirmation in previous commit
+ fixed PATH (missing $)
2022-04-25 09:28:23 +02:00
Martin Pulec
0bd1dfc569 CI Win lib555: use ld from binutils
lld (from clang) didn't work

Fixes failed run:
https://github.com/CESNET/UltraGrid/actions/runs/2207798105
2022-04-22 16:34:41 +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
e9837ed947 CI: patch GLFW for mac for higher bit depth 2022-04-22 11:32:48 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Pulec
18f0496084 CI: fixed on schedule workflows
- run on schedule only in CESNET/UltraGrid repo
- otherwise run only if pushing to respective branches
- run Coverity scan earlier (4:00 UTC)
2022-04-20 08:35:47 +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 Pulec
132569c023 CI Win: use upstream libnatpmp GH repo
The original location sometimes fail with HTTP error code 500 causing
the build to fail. Thus replace it with own libnatpmp mirror (there
isn't any ongoing development, anyway).
2022-04-05 12:52:18 +02:00
Martin Pulec
6c486f07f2 CI Win FFmpeg: use MSYS2 pkg instead of ext. build
Use MSYS2 version instead of external builds from gyan.net. FFmpeg gets
installed as a dependency anyway and this causes crashes because of
binary incompatibility between those two. See failed run:

https://github.com/CESNET/UltraGrid/actions/runs/2076078289
2022-04-05 10:20:44 +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
Martin Pulec
7846f4afaf CI Win: use up to 10 attempts waiting for NDI inst 2022-03-25 10:26:14 +01:00
Martin Pulec
e668a93fac CI Linux: XIMEA install workaround patch 2022-03-25 10:25:45 +01:00
Martin Pulec
5edf8a7cda GitHub CI C/C++ [Win]: updated CUDA toolkit
To fix failed run:
https://github.com/MartinPulec/UltraGrid/runs/5646203963

See also e2174fba

+ use network installer again (see 0a1b71789)
2022-03-23 14:09:47 +01:00
Martin Pulec
ac417afbac CI Win: use clang64 env instead ucrt64
Both use ucrt as a C library but ucrt64 (with gcc) presents some
spurious warnings (eg. not knowing "%zu" printf conversion) which makes
it questionable if correct headers are used.
2022-03-23 14:09:46 +01:00
Martin Pulec
8cb8c9601a GitHub CI ARM: fixed workflow
Upload result to release artifacts also when scheduled in main repo
(github.ref != 'refs/heads/arm-build').

+ do not repeat the inverted condition but rather upload the artifact
  if release artefact was not uploaded
2022-03-22 15:46:28 +01:00
Martin Pulec
9fbd18b53d GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9
Temporarily disable SVT HEVC/VP9.

With current FFmpeg upstream updates, patch doesn't apply and there is
no simple way to fix now (FFCodec was introduced in addition to AVCodec)
so disable it at least temporarily until the patch is fixed.

References:
- https://github.com/CESNET/UltraGrid/actions/runs/2016955211
- https://github.com/OpenVisualCloud/SVT-HEVC/issues/614
2022-03-22 15:46:19 +01:00
Martin Pulec
b52a62965b GitHub CI C/C++ mac NDI: workaround not needed
Remove a workaround that is no longer needed with current NDI.
2022-03-11 10:48:48 +01:00
Martin Pulec
8d05cde1a5 GitHub CI Win: install windeployqt for Qt6 2022-03-09 16:29:07 +01:00
Martin Pulec
8b0af756bb GitHub CI C/C++ Win: use Qt 6 2022-03-09 16:09:37 +01:00
Martin Pulec
c321ed4cc0 GitHub CI C/C++: use PCP from upstream
It should be now able to build in Windows.
2022-02-23 10:17:19 +01:00
Martin Pulec
b5d2f40335 GitHub CI Win: Version.txt is not present in NDI
Windows distribution of NDI usually doesn't contain Version.txt so do
not use it. Moreover the previous way of creating the version file (in
.bashrc) was not perfect.

Write at least NDI major version if NDI_VERSION is not present.
2022-02-22 08:23:07 +01:00
Martin Pulec
e2174fba31 GitHub CI C/C++ [Win]: updated CUDA toolkit
To fix failed run:
https://github.com/CESNET/UltraGrid/actions/runs/1876551209
2022-02-21 16:22:25 +01:00
Martin Pulec
c9661c4e67 GitHub CI Coverity: use full path for the cache
For some reason, using implicit path caused the Coverity tool not to be
stored ("Cache Size: ~0 MB (22 B)" in Post Cache step).
2022-02-21 15:32:03 +01:00
Martin Pulec
9231848bd5 GitHub CI C/C++ [Win]: fixed JACK2 installation
JACK installed with Chocolatey ceased to run unattendedly thus
installing it directly now.
2022-02-21 14:57:26 +01:00
Martin Pulec
960d231574 GitHub CI Coverity: move conditional to every step
See also:
https://github.com/actions/runner/issues/520
2022-02-21 09:48:31 +01:00
Martin Pulec
59a58d9966 GitHub CI Coverity: do not clone submodules 2022-02-21 09:48:31 +01:00
Martin Pulec
f59ca12da4 GitHub CI: take EWS from upstream
Our compatibility fixes were already merged so we can use the code from
upstream.
2022-02-09 10:02:48 +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
66140e1f3e zfec configure+CI: use /usr/local/src
- install only zfec subdirectory, not whole repo
- macOS blocks creating files directly in /usr(/src)
2022-02-03 15:41:10 +01:00
Martin Pulec
7c613e380a GitHub CI: install also zfec to /usr/src
Although nowadays rarely used, /usr/src is a convenient place for
system-wide sources (aka libraries), so use it. Also it also removes the
need for hard-coded path.
2022-02-03 15:41:09 +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
b89a02bf4c GitHub CI [Win]: Cineform compilation workaround 2022-02-03 15:41:09 +01:00
Martin Pulec
9b01fcd803 .github/scripts/macOS/prepare.sh: small updates
moved modules to separate functions
2022-02-03 15:41:08 +01:00