Commit Graph

195 Commits

Author SHA1 Message Date
Martin Pulec
f5b48ee20e GitHub CI [Win]: enable debug in prepare.ps1
i.a. to determine slowdowns + eventually real debugging
2021-11-30 16:27:50 +01:00
Martin Pulec
d950c966b9 GitHub CI [Win]: use CUDA 11.5
+ derive used version from URL
2021-11-30 16:27:45 +01:00
Martin Pulec
3b27f31fb8 create_continuous_release.sh: missing EOF + double-quote vars 2021-11-26 12:20:19 +01:00
Martin Pulec
e04b6986a9 GitHub CI [Linux]: bundle i965-va-driver-shaders
Bundle i965-va-driver-shaders instead of i965-va-driver. This should be
superior:

"This package contains also contains the non-free encode shaders for
VP8, VP9, HEVC and AVC for generation 7.5 hardware or newer."
2021-11-26 09:57:44 +01:00
Martin Pulec
fe97093084 GitHub CI [Linux, FFmpeg]: fixed SVT-VP9
Fixed SVT-VP9 patch not applying - we need more repo depth now
 (increased 1000->5000 commits - 2000 would take 18 MiB, 5000 24 MiB,
 which is stil decent).
2021-11-25 10:54:58 +01:00
Martin Pulec
e3db89af46 .github/scripts/macOS/sign.sh: do not leak password 2021-11-09 15:12:30 +01:00
Martin Pulec
24ce0447d6 s/Short log/Changes/ in GH release 2021-11-09 10:43:08 +01:00
Martin Pulec
ddee6968c8 GitHub CI: create continuous release if needed
For Linux AppImages in release channel, zsync files are stored as an
artefact in continuous release assets so ensure that it is present.
2021-11-03 09:04:45 +01:00
Martin Pulec
61e2bb8adf GitHub CI [Linux]: fixed rav1e build
Cargo 1.56 is needed for cargo-c but 1.55 is in U18 runner ver
20211017.0 thus update as a workaround.

Failed run:
https://github.com/MartinPulec/UltraGrid/actions/runs/1412342915
2021-11-03 08:57:59 +01:00
Martin Pulec
628f3ba74f Add release zsync update files to continuous
As there will be releases 1.7.1, 1.7.2 etc., storing zsync in release
asset doesn't make sense (further version won't update previous update
information). Thus store this in continuous release assets - update
channel "release" was introduced aside to existing "continuous".
2021-11-03 08:55:29 +01:00
Martin Pulec
ec3ffb2753 GitHub CI: updated release life cycle
The release channel is not build from release/ branch, instead a bugfix
version numbers are required and the build is from appropriate tag, eg.
v1.7 (release, should be in master) and then v1.7.1, v1.7.2. The bugfix
releases should have its own entry in NEWS file (create-release.sh makes
GitHub release description from this).
2021-11-02 15:59:49 +01:00
Martin Pulec
32c56a53f8 GitHub CI: Create release also for release/* 2021-11-02 15:59:48 +01:00
Martin Pulec
e3c926c8ff GitHub CI [Linux, FFmpeg]: patch NVENC not to use infinite GOP
Infinite GOP is useless for UltraGrid
2021-09-08 08:25:17 +02:00
Martin Pulec
a4bc123c15 GitHub CI [Linux]: removed FFmpeg patches
Our custom changes are already in FFmpeg upstream.
2021-09-07 11:47:43 +02:00
Martin Pulec
f3a4408eb9 GitHub CI [Linux, FFmpeg]: enable dav1d 2021-08-18 23:45:17 +02:00
Martin Pulec
1769deb53d GitHub CI [Linux, FFmpeg]: use newer x265 2021-08-18 23:19:19 +02:00
Martin Pulec
61232e63c6 GitHub CI [Linux]: cap NV codec version to 11.0
v11.1 requires quite a new driver version (470.57.02 and 471.41) without
useful new features.
2021-08-18 15:03:26 +02:00
Martin Pulec
1fbdb737b4 GitHub CI [Linux]: use updated SDL2 build to fix issues 2021-07-27 11:32:34 +02:00
Martin Pulec
eb7977c8d8 GitHub CI [Linux, FFmpeg]: build rav1e
+ do not use yasm for SVT - nasm-mozilla (nasm 2.14) installed in
this commit is sufficient
2021-07-21 14:56:24 +02:00
Martin Pulec
5286918f14 GitHub CI: support for NDI 5
macOS and Linux would still compile with NDI 4, Windows requires NDI 5
now.
2021-07-20 14:10:48 +02:00
Martin Pulec
2e3a78ff0f Configure/make: use realpath with python if cmd not avail 2021-07-20 09:43:57 +02:00
Martin Pulec
f4f7fa3431 GitHub CI [Win]: do not use hardcoded NDI ver 2021-07-20 09:15:34 +02:00
Martin Pulec
e6fd7c6af3 Use libraspberrypi-dev instead of cloning from GitHub 2021-07-19 15:54:46 +02:00
Martin Pulec
4484ab418d GitHub CI [armhf]: build own SDL2 with KMSDRM 2021-07-19 15:54:42 +02:00
Martin Pulec
e90d13d57d GitHub CI: Cache SDKs path fix
Seems like extracting from /var/tmp fails with cache action.
2021-07-19 14:11:43 +02:00
Martin Pulec
e43ab93b7d GitHub CI [Mac]: install realpath (needed by Makefile) 2021-07-19 14:08:21 +02:00
Martin Pulec
68a782ae6c GitHub CI [Mac]: update VideoMaster installation
libVideoMasterHD_SP.dylib is no longer present in the SDK (6.17).
2021-07-19 14:08:21 +02:00
Martin Pulec
1c1fd4d187 GitHub CI [Mac]: VideoMaster installer failure workaround
The installer sometimes fails (eg. workflow run C/C++ CI #427) but it
has already installed the SDK so just suppress the error.
2021-07-19 14:08:21 +02:00
Martin Pulec
ec2c06dfb7 GitHub CI [Linux]: install FFmpeg+deps only if cached
Otherwise installed by download_build_ffmpeg.sh
2021-07-19 14:08:21 +02:00
Martin Pulec
bc3e4e1a28 GitHub CI [ARM]: fixes 2021-07-19 13:04:34 +02:00
Martin Pulec
22bbfca5dc GitHub CI [Linux, raspbian]: add also complementary repo
SDL2 from this repo supports RPI backend.
2021-07-19 13:04:31 +02:00
Martin Pulec
71587d4ae2 GitHub CI FFmpeg [Linux]: added SVT VP9 2021-07-14 09:33:16 +02:00
Martin Pulec
7b30ac5e2c GitHub CI [Linux]: use system nasm
Ubuntu 18.04 already has nasm 2.13 so there is no need to compile it
from sources.
2021-07-13 15:10:53 +02:00
Martin Pulec
da9aa3aa41 GitHub CI [Linux]: FFmpeg - fixed SVT build in U18.04
See AOMediaCodec/SVT-AV1#226.
2021-07-13 15:10:52 +02:00
Martin Pulec
35b86816b2 GitHub CI [Linux]: run on Ubuntu 18.04
Intel MediaSDK requires at least libva 1.10, U16.04 provides 1.07 only.
2021-07-13 15:10:52 +02:00
Martin Pulec
609f7a232d GitHub CI [Linux, FFmpeg]: use 3-way merge to apply SVT HEVC patch
Now it applies cleanly.
2021-07-13 11:38:36 +02:00
Martin Pulec
fc56d9a1c4 GitHub CI: remove possible previous instalations of cached items
Due to inexact matching, cache might not have been hit but item was
extracted from partially matching key.
2021-06-24 16:42:58 +02:00
Martin Pulec
a4ada7cca9 GitHub CI: check ETags for cache keys 2021-06-24 16:42:57 +02:00
Martin Pulec
b65a851d68 GitHub CI: replace cache key counters
GitHub actually uses a bit complicated pattern matching for the keys:
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#using-contexts-to-create-cache-keys

Namely if exact hit is not found, the key is used as a prefix which
could cause using 'ffmpeg-cache-2' for 'ffmpeg-cache'. In addition
steps.<id>.outputs.cache-hit is set to false if the match is not exact
but the cache is actually restored from inexact match.

+ use ${{ runner.os }} as part of the cache key (currently not needed
but we may use the same key for different platform caches)
2021-06-24 16:42:57 +02:00
Martin Piatka
bfd9aa3855 Github CI: Update ffmpeg intra-refresh patch 2021-06-14 13:19:32 +02:00
Martin Pulec
972d0432c6 GitHub CI [Win]: AJA build fix
Current MSVS requires explicit target "Rebuild" for some reason.
Explicit target "Build" doesn't work for some reason (perhaps some
error in project file?).
2021-06-08 16:04:43 +02:00
Martin Pulec
4f34cd1a61 GitHub CI [Win]: for some reason cmake config must be first
For some reason cmake config must be given prior to --parallel with MSVS
16.10 (didn't seem to be an issue with previous version).
2021-05-31 14:05:06 +02:00
Martin Pulec
5fdaef03a3 GitHub CI [Linux ARM]: use code checked out by GitHub
Use code checked out by GitHub Action - previously there was a clone
but we want rather the actual code, which doesn't need to be in master
branch of the main repository.

This also requires a small refactor (chroot in home rather than in
$GITHUB_WORKSPACE)
2021-05-21 19:40:15 +02:00
Martin Pulec
495548b4db GitHub CI [Linux ARM]: simplify bootstrap.sh 2021-05-21 13:43:51 +02:00
Martin Pulec
7e16903a7a GitHub CI [Linux]: SVT-HEVC - patch has been renamed 2021-05-20 13:19:39 +02:00
Martin Pulec
b60dcb283a GitHub CI: fixed unbound variables
FEATURES may not be defined in other workflows than C/C++ CI.
2021-05-20 09:41:44 +02:00
Martin Pulec
a609648be7 GitHub CI [Win]: switched to UCRT
- live555 needs to be rebuilt - decouple from prepare_msys.sh
2021-05-13 09:08:17 +02:00
Martin Pulec
986da3414b GitHub CI [Linux]: fixed MagickWand removal
MagickWand depends on libvpx3 thus it cannot be removed.
2021-05-08 16:55:30 +02:00
Martin Pulec
df506f52a9 GitHub CI [Win]: use cmake for Cineform build
+ move to function to be prettier
+ use parallel build
2021-05-08 16:06:59 +02:00
Martin Pulec
15e655fa9e GitHub CI: parallel build of some deps 2021-05-08 16:05:48 +02:00