Commit Graph

46 Commits

Author SHA1 Message Date
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
Martin Pulec
de858a7ccb GitHub CI: remove macOS 10.14 SDK
Actually this is not sufficient to make a build compatible with High
Sierra (10.13 - N-1th relase that is supported with 10.14 SDK). Homebrew
perhaps doesn't support using older SDKs so we get incompatible
dependencies from there.
2020-04-28 14:04:56 +02:00
Martin Pulec
252b91adbc GitHub CI: Pass dylibbundler - /usr/local/lib
Fixes a problem when dylibbundler cannot find @loader_path/libamd.2.dylib.
2020-04-27 14:28:10 +02:00
Martin Pulec
dd66af5b90 macOS: added camera/microphone entitlements
This should fix crashes of AV Foundation when invoked from GUI (and
CoreAudio capturing silence).

Closes #53.
2020-04-15 14:36:43 +02:00
Martin Pulec
1d17e9e028 GitHub Workflows: simplify signing [macOS] 2020-04-15 14:36:40 +02:00
Martin Pulec
cc06d7136f GitHub Workflow: macOS signing fix
Fixed missing quotation marks.
2020-04-07 10:06:36 +02:00
Martin Pulec
a61a4dc16e GitHub workflows: sign also CI if key avail. [mac] 2020-03-27 21:40:54 +01:00
Martin Pulec
73ec69a3a8 GitHub Workflow: nightly - sign the macOS app 2020-03-27 09:46:27 +01:00
Martin Pulec
a77eba854f CI: use dynamic Qt (macOS, from Homebrew) 2020-03-19 09:53:31 +01:00
Martin Pulec
f0836a4582 CI: Added additional dependencies [macOS, Win]
- OpenCV
- OpenSSL
- ImageMagick
- JACK

- fixed SDKROOT + SDK version not hardcoded [Mac]
- unified Qt build script for macOS+Linux
2020-03-19 09:53:31 +01:00
Martin Pulec
149d08915b CI: added Syphon [macOS]
- removed spurious $SDKPATH
- added -eu bash flags
- download/extract to a temporary directory which is then removed
2020-03-19 09:53:30 +01:00
Martin Pulec
31d8a655d2 CI: added live555 2020-03-19 09:53:30 +01:00
Martin Pulec
c75eebdc00 CI: updated 2020-03-19 09:53:29 +01:00
Martin Pulec
2ed9572304 CI: simplified also for mac 2020-03-19 09:53:27 +01:00