Commit Graph

77 Commits

Author SHA1 Message Date
Martin Pulec
71ec5f5cf7 Revert "CI: removed SDL2_mixer"
This reverts commit d547bcb9e3.

Now used by MIDI audio capture.
2022-09-12 16:44:04 +02:00
Martin Pulec
cb789020d6 shellchecked all remaining CI scripts 2022-09-08 14:43:42 +02:00
Martin Pulec
8bb3026f27 shellchecked .github/scripts/*/prepare.sh 2022-09-08 11:13:47 +02:00
Martin Pulec
ae7610e19b CI: Cineform build - factor common code
generalize compilation for Linux+mac
2022-09-08 11:13:44 +02:00
Martin Pulec
d547bcb9e3 CI: removed SDL2_mixer
no longer used by testcard2
2022-08-26 15:49:36 +02:00
Martin Pulec
d0224f6b2e .github/scripts/macOS/sign.sh: used shellcheck
Incorporated shellcheck complains.
2022-07-12 11:53:48 +02:00
Martin Pulec
c7a251f327 CI sign.sh [mac]: return 0 on pull request
On pull request, the repository secrets are not available.
2022-07-12 11:32:57 +02:00
Martin Pulec
4089f2e3ef CI: AJA cleanup 2022-06-14 14:12:57 +02:00
Martin Pulec
47d8fd5143 CI: use AJA from GitHub [mac] 2022-06-14 11:36:58 +02:00
Martin Pulec
b6160ef916 CI mac GLFW: host non-upstream changes on GH 2022-06-01 16:03:18 +02:00
Martin Pulec
5313a3421f C/C++ CI: fixed failed run 658
Fixed failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/2274530865
2022-05-05 14:09:24 +02:00
Martin Pulec
e9837ed947 CI: patch GLFW for mac for higher bit depth 2022-04-22 11:32:48 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Piatka
b3389d1c56 Github CI: Install GLM from repositiories 2022-03-29 13:41:21 +02:00
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