Commit Graph

88 Commits

Author SHA1 Message Date
Martin Pulec
e83fdcadb3 configure: link with libMoltenVK on macOS
+ install MoltenVK with CI
2023-01-17 14:25:09 +01:00
Martin Pulec
eb8049e90e CI: enable Vulkan for mac + require
except of U20.04 where it currently doesn't run
2022-11-09 09:09:20 +01:00
Martin Pulec
a082cdaf12 CI tests: replace UG_SKIP_NET_TESTS with GITHUB_REPOSITORY
Automatically ignore network test errors (typically a multicast on mac
and in arm chroot) if run from CI.
2022-11-08 16:49:36 +01:00
Martin Pulec
f34b2caaed CI mac: use wolfSSL instead of OpenSSL
Use of OpenSSL required a bit tweaking on mac. Also the new library is
faster and and smaller, which makes is better suitable for UG.

Note: other platforms are not compatible with wolfSSL yet - U18.04 does
contain old/incompatible version. MSYS2 doesn't build wolfSSL.
2022-11-04 08:59:13 +01:00
Martin Pulec
603d5f8b6d CI: added Soxr 2022-10-26 09:20:49 +02:00
Martin Pulec
8c1ed707d5 CI: remove non-free AJA handling
NTV2 SDK is now pulled from GitHub in .github/scripts/macOS/prepare.sh
2022-10-07 15:19:15 +02:00
Martin Pulec
39d62f9f3a CI AJA: factor out common handling 2022-09-27 15:52:32 +02:00
Martin Pulec
0a07ab837f CI: fixed fetching of AJA assets
pass also GITHUB_TOKEN when fetching AJA GH assets
2022-09-27 15:52:32 +02:00
Martin Pulec
0f38366079 CI AJA: use GH provided GITHUB_TOKEN
Pass our GITHUB_TOKEN when querying AJA releases in attempt to avoid
reacing API rate limit. See also the failed build:

https://github.com/CESNET/UltraGrid/actions/runs/3113151876
2022-09-23 16:21:03 +02:00
Martin Pulec
9389cf7bd4 CI AJA: use common JSON handling
Use common JSON handling functions because it offer error checking.

+ use -sS for curl
2022-09-22 10:51:29 +02:00
Martin Pulec
031e5be285 CI: use GH api instead of taking it from HTML
similarly to previous commit
2022-09-20 12:11:19 +02:00
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