Commit Graph

63 Commits

Author SHA1 Message Date
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
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
9b01fcd803 .github/scripts/macOS/prepare.sh: small updates
moved modules to separate functions
2022-02-03 15:41:08 +01:00
Martin Pulec
fb1bd77bfb GitHub CI: download zfec/cineform directly from upstream
+ removed gpujpeg/cineform from monitored paths in workflow file
2022-02-03 15:41:08 +01:00
Martin Pulec
587e829387 GitHub CI: enable testcard2 2022-01-19 17:02:42 +01:00
Martin Pulec
a0adbbe5c0 GitHub CI [macOS]: added /usr/local/lib to dylibbundler search path
needed for libjuice
2022-01-13 16:59:02 +01:00
Martin Pulec
a06af0ac34 GitHub CI: current NDI bug workaround 2022-01-13 16:59:01 +01:00
Martin Pulec
a1fc27de7d GitHub CI [macOS]: download XIMEA individually
Do not group "free" SDKs - XIMEA was only one, anyway, NDI handled separately.
2022-01-12 14:29:51 +01:00
Martin Pulec
bc455b8605 GitHub CI: download NDI directly from NewTek
and build it unconditionaly.
2022-01-12 13:48:00 +01:00
Martin Pulec
4685a2cb84 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-12 13:47:59 +01:00
Martin Pulec
e3db89af46 .github/scripts/macOS/sign.sh: do not leak password 2021-11-09 15:12:30 +01: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
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
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 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
009d85d512 NDI cap.: print NDI version in GitHub build 2021-04-19 09:34:16 +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
bb989e322b GitHub CI [Mac]: install DELTA directly from SDK 2021-03-25 09:29:05 +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
Martin Pulec
e63cdf88ae GitHub CI [Mac]: change APPLE_KEY_P12_B64 secret
Simplified APPLE_KEY_P12_B64 secret - now it uses only base64-encoded
P12 file (original certificate not needed - contained in that file).
2021-03-23 16:14:36 +01:00
Martin Pulec
32e1f6a6cf GitHub CI: Mac signing - removed hardcoded signer username 2021-03-23 16:12:37 +01:00
Martin Pulec
ad1355bb2d GitHub CI: do not checkout with submodules
Not all are really needed, currently eg. gitlab.xiph.org is down
preventing the build - SpeexDSP is, however, not primarily taken
from the submodule but from packages.
2021-03-08 09:27:01 +01:00
Martin Piatka
6c87908c85 CI: install qt version 5 explicitly 2021-03-05 11:40:38 +01:00
Martin Pulec
f7676ccf52 GitHub CI: Use system Speex 2021-03-03 13:16:02 +01:00
Martin Pulec
e53a84c25f GitHub CI: install NAT PMP library 2021-02-15 08:21:12 +01:00
Martin Pulec
ce52d8fb2e GitHub CI [Mac]: download XIMEA API directly 2021-02-03 08:53:47 +01:00
Martin Pulec
8f09b9d227 Added PCP NAT traversal 2020-11-30 16:31:25 +01:00
Martin Pulec
bd30c04974 GitHub CI: replaced obsolete set-env and add-path 2020-10-07 13:11:14 +02:00
Martin Pulec
996c9ccf76 CI scripts: catch more errors
When there is a chain of commands separated by &&, if one fails, the
others are not executed but the script continues execution even with
'set -e'.
2020-10-07 10:46:39 +02:00
Martin Pulec
7ff96e5f69 GitHub CI: output of Mac bundle signing to console
The signing sometimes silently fails and thus it's advisable to print copy of
the output, that has been previously redirected, to console
2020-08-05 15:01:07 +02:00
Martin Pulec
9cb78b2863 GitHub CI: cache SDKs [Mac]
GitHub or MacStadium (Mac platform provider) may be rate-limiting
downloading the SDKs so we'd like to speed it up.
2020-06-24 14:27:01 +02:00
Martin Pulec
650d069d01 GitHub CI: make curl calls silent 2020-06-24 14:27:01 +02:00
Martin Pulec
68a7745e5c GitHub CI: build DELTACAST [Mac] 2020-06-24 14:27:00 +02:00
Martin Pulec
0dd260b334 GitHub CI: make check/distcheck work with NDI
+ added missing NDI artifact upload step for macOS
2020-06-04 16:39:38 +02:00
Martin Pulec
dd1140254b GitHub CI [Mac]: pass NDI path to DYLIBBUNDLER_FLAGS 2020-06-03 16:22:03 +02:00
Martin Pulec
d23feabb5d GitHub CI: support for Mac NDI 2020-06-03 16:22:02 +02:00
Martin Pulec
315503122c Revert "GitHub CI: Pass dylibbundler - /usr/local/lib"
This reverts commit 252b91adbc.

This is no longer needed with dylib bundler v2.
2020-05-05 10:16:26 +02:00
Martin Pulec
f3d608dd2d GitHub CI: use dylibbundler v2
Use a dylibbundler fork because it has much better execution time and
perhaps also other improvements.
2020-05-05 10:16:18 +02:00
Martin Pulec
1d4a350159 Bump to new Cineform
Use version v10.0.2a.

+ do not build Cineform tools - not needed and current Cineform master
  (not this one checked) fails to compile the tools in MSW
2020-05-02 13:32:27 +02:00