277 Commits

Author SHA1 Message Date
Martin Pulec
0627ebee99 GitHub CI [Windows, NDI]: added additional wait if NDI not (yet?) present 2022-01-14 15:51:45 +01:00
Martin Pulec
ff4a320a45 GitHub CI: current NDI bug workaround 2022-01-13 16:43:10 +01:00
Martin Pulec
b7ad3cb9ce create_release.sh: use ATX markdown hdr instead of bold for changes and fixes
This allows having some formatting in FIXES.md, eg. for different minor
versions like that:

    #### 1.7.1
    - changes for 1.7.1
    - another fix in 1.7.1
    ### 1.7.2
    - fixes for 1.7.2

+ join the lines like beginning with spaces more inteligently
2022-01-11 15:44:17 +01:00
Martin Pulec
8645e4bcb4 GitHub CI: download NDI directly from NewTek
and build it unconditionaly.
2022-01-11 13:31:11 +01:00
Martin Pulec
ac6ffee02a GitHub CI: build NDI by default if SDK is found
Removed separate NDI handling (branch ndi-build and build it as upstream (if SDK is found)
since NDI is now dynamically runtime loaded.
2022-01-11 13:30:51 +01:00
Martin Pulec
81f70742de GitHub CI [Win, VHD]: fixed current (6.18) lib location 2021-12-06 14:10:58 +01:00
Martin Pulec
9d17f00980 GitHub CI [Win, AJA]: AJA 16.1 compat - use glob for VS proj 2021-12-06 14:10:50 +01:00
Martin Pulec
9c6b13a836 GitHub CI: add bugfix changelog to GH release
Fixes are listed in file FIXES.md

+ fix the link to full changelog
2021-12-02 12:11:07 +01:00
Martin Pulec
9eadc71649 create_continuous_release.sh: missing EOF + double-quote vars 2021-11-26 15:45:34 +01:00
Martin Pulec
23b8bfcad6 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 15:45:21 +01:00
Martin Pulec
6441d36f56 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 13:04:53 +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
15f76c08dc GitHub CI [AppImage]: include complete URL for zsync 2021-11-02 15:59:50 +01:00
Martin Pulec
2d3b85eff7 GitHub CI: create release for refs/heads/tags/v* in any repo 2021-11-02 15:59:49 +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
b9c6d2b78d GitHub CI [Mac]: run checks before signing
It is unsure whether wrong bundle would be signed and if not, the
problem may not be easy to find.
2021-07-21 16:10:45 +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
3702ab3504 GitHub CI [Mac]: check - hide also Frameworks
This will ensure that local frameworks (eg. VideoMaster) aren't directly
referenced.
2021-07-19 14:12:01 +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
26eb6dae7c GitHub CI [Linux]: make also prepare.sh dependency for FF cache
In this scripts dependecies are installed so its change can influence
actual FFmpeg build.
2021-07-14 09:33:21 +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
2e0a0e8814 GitHub CI: fixed FFmpeg cache key 2021-07-09 10:20:13 +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