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
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 Piatka
25987ebc9f
CI: Enable manual trigger
...
Useful for manually triggering a build from a specific branch
2023-01-18 14:29:16 +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
785d8c0e75
Coverity CI: use at least 2 processes
...
see 97c8eed6
2023-01-09 12:09:03 +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
97c8eed6a4
CI Coverity: fix build abortion
...
see https://github.com/MartinPulec/UltraGrid/actions/runs/3658131620/jobs/6182827419
For Vulkan, the memory exhaustion perhaps occurs, thus use only one
concurrent process to build.
2022-12-09 17:16:58 +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
Martin Pulec
207874398b
CI FFmpeg Linux: added libde265
...
with own patch
2022-12-02 11:15:21 +01:00
Martin Pulec
286d9aca18
CI Linx FFmpeg SVT HEVC: uses cmake
...
So use it (the `cmake --install` is perhaps better than make install
since it doesn't trigger rebuilds so often). Also to be consistent with
the other SVT compressions.
2022-11-28 10:50:01 +01:00
Martin Pulec
f7bcf8258d
CI Linux: do not apt upgrade
...
It should not be necessary. The distro is quite bulky and it would
update things like PHP etc. and wastes relatively significant time
(approx. 15 minutes - bootstrap time was reduced from 20 to 5 mins).
2022-11-22 16:37:16 +01:00
Martin Pulec
438dbfa465
CI: fixed debhelper-compat(=12) not found for SDL2
...
Fixed a fail in U20.04 (currently GH's ubuntu-latest) affecting
coverity-scan (continuous still using 18.04):
https://github.com/CESNET/UltraGrid/actions/runs/3506409582
A dependency of libsdl2 debhelper-compat=12 is not available. apt
frontend can handle that somehow, but aptitude doesn't, so use apt to
install SDL2 dependencies (aptitude still used for mixer and ttf to
avoid installation of libsdl2 library itself).
2022-11-21 14:17:02 +01:00
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
76f713ca16
CI Win: improve potentially space-delim input read
...
Do not use the IFS magic to handle space-delimited libraries, use "while
read" instead. This should fix accidental fails as here:
https://github.com/CESNET/UltraGrid/actions/runs/3477335229/jobs/5813393766
2022-11-16 14:03:51 +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
eb8049e90e
CI: enable Vulkan for mac + require
...
except of U20.04 where it currently doesn't run
2022-11-09 09:09:20 +01:00
Martin Pulec
0b4bca9e7d
CI: updated actions/upload-artifact to v3
...
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Interestingly, the warning was triggered by v2 of the artifact but not
v1 (arm-build.yml, not in ccpp.yml, where was even v1 used).
2022-11-08 16:49:37 +01:00
Martin Pulec
925db63ef3
CI ARM: pass env vars to chroot
2022-11-08 16:49:37 +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
307d5506bb
arm-build.yml: do not attempt to copy a removed file
2022-11-04 13:23:25 +01:00
Martin Pulec
f34b2caaed
CI mac: use wolfSSL instead of OpenSSL
...
Use of OpenSSL required a bit tweaking on mac. Also the new library is
faster and and smaller, which makes is better suitable for UG.
Note: other platforms are not compatible with wolfSSL yet - U18.04 does
contain old/incompatible version. MSYS2 doesn't build wolfSSL.
2022-11-04 08:59:13 +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
fc740f7e4d
CI: use macos-11 for macOS runner
...
macos-latest is now macos-12 in current runs so build it on macOS
11 to support macOSes Big Sur that are still supported by Apple
2022-10-26 14:24:23 +02:00