Commit Graph

167 Commits

Author SHA1 Message Date
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
Martin Pulec
c1bdf897bb GitHub CI [Linux]: another build fix
Weirdly the run 382 failed on nginx unsatisfied dependencies, so
explicitly removing it.
2021-05-08 15:58:09 +02:00
Martin Pulec
f70774b9b5 GitHub CI [Linux]: do not install libzmq3-dev
See failed run 380 for details.
2021-05-07 14:24:04 +02:00
Martin Pulec
2c7127a488 GitHub CI [Linux]: really upgrade
This fixes 0f9251f0 - was update instead of upgrade by mistake.
2021-05-07 12:08:36 +02:00
Martin Pulec
000974183c GitHub CI [Mac]: fixed missing AJA unzip 2021-04-30 16:26:46 +02:00
Martin Pulec
d579fbf882 GitHub CI [Mac]: parallel build of live555, cineform 2021-04-27 15:32:57 +02:00
Martin Pulec
b6adea2b62 GitHub CI [Mac]: don't require all non-free SDKs
Do not require all of the non-free SDKs to be present. User may opt in
only for one (and doesn't own the other, either).
2021-04-27 15:32:56 +02:00
Martin Pulec
434719b589 GitHub CI: enable AJA+DELTACAST only if we have SDKs 2021-04-27 15:32:56 +02:00
Martin Pulec
422f60b814 GitHub CI [Mac]: speed up the build
Cached are not only installers but also builds/installations
2021-04-27 15:32:56 +02:00
Martin Pulec
b01b5964ee GitHub CI [Mac]: Try to fix notarization failures
https://developer.apple.com/forums/thread/677739:

[...] does supplying a different value for --primary-bundle-id clear
the problem?

IMPORTANT The notary service doesn’t actually require this bundle ID be
related to the software that you’re notarising, so you can use any
reasonable bundle ID.
2021-04-27 15:32:51 +02:00
Martin Pulec
0a1b717892 GitHub CI [Win]: install CUDA 11.3
+ use netinst (may speed a little up - less amount of downloads)
2021-04-26 15:23:59 +02:00
Martin Pulec
a1720afe3d GitHub CI [Win]: updated JACK 2021-04-19 13:13:43 +02:00
Martin Pulec
75b47acf0f Revert "GitHub CI [Linux]: Fix FFmpeg refusing P1-P7 presets"
This reverts commit 6537ae9aed.

Fixed in FFmpeg upstream.
2021-04-19 10:15:05 +02:00
Martin Pulec
009d85d512 NDI cap.: print NDI version in GitHub build 2021-04-19 09:34:16 +02:00
Martin Pulec
6537ae9aed GitHub CI [Linux]: Fix FFmpeg refusing P1-P7 presets
Fix FFmpeg bug refusing P1-P7 presets if GPU doesn't support lossless
encoding.
2021-04-16 11:36:21 +02:00
Martin Pulec
0d4e07da1d GitHub CI [Linux]: prepare to apply series of patches to FFmpeg
Use Git-formatted patches.
2021-04-16 09:19:50 +02:00
Martin Pulec
e9ab392f16 GitHub CI [Linux]: build libvpx with --enable-vp9-highbitdepth
Start building own libvpx with high bit depth option.
2021-04-13 16:16:28 +02:00
Martin Pulec
01e36b250b install_dylibbundler_v2.sh: improvements
- do not use cmake (speed, compat)
- shallow clone
- parallel make according to num logical cores
2021-04-12 15:53:14 +02:00
Martin Pulec
57ec5bc009 GitHub CI: ensure that required features are compiled
Prevend unintentionally missing features due to some dependency not
satisfied.
2021-04-08 14:12:52 +02:00
Martin Pulec
44fa01869d Use Nvidia Codec SDK master version headers 2021-03-31 10:33:09 +02:00
Martin Pulec
d36545e656 FFmpeg NVENC: make intra-refresh optional (but default) 2021-03-30 15:11:50 +02:00
Martin Pulec
4286ae1efb GitHub CI: updated FFMPEG NVENC patch
Set IDR to GOP size passed by user (previously it was set to
NV_ENC_CONFIG:gopLength, which is now NVENC_INFINITE_GOPLENGTH).
2021-03-30 15:11:39 +02:00
Martin Pulec
627d6a3157 GitHub CI: patch FFmpeg with NVENC intra-refresh patch 2021-03-30 15:11:32 +02:00
Martin Pulec
7bbbe43917 GitHub CI: rename SSH_KEY to NDI_REMOTE_SSH_KEY
To better denote secret semantics.
2021-03-25 15:13:40 +01:00
Martin Pulec
1a7981f594 upload-ndi-build.sh: removed RDIR
Replace REMOTE+RDIR with NDI_REMOTE_SSH.

SSH host key is now in NDI_REMOTE_SSH_HOST_KEY_URL.
2021-03-25 15:07:48 +01:00
Martin Pulec
da5443b219 GitHub CI [Win]: XIMEA - use official installer 2021-03-25 09:29:07 +01:00
Martin Pulec
bb989e322b GitHub CI [Mac]: install DELTA directly from SDK 2021-03-25 09:29:05 +01:00
Martin Pulec
04fa3cfa7c GitHub CI [Win]: install DELTA directly from SDK 2021-03-25 08:38:11 +01:00
Martin Pulec
d47f886c81 GitHub CI [Mac]: fail if main repo doesn't have keys
The former GITHUB_WORKFLOW is no longer valid (no "nightly" workflow
anymore).
2021-03-24 16:29:21 +01:00