Commit Graph

102 Commits

Author SHA1 Message Date
Martin Pulec
5451a2fbce Revert "CI mac: keep vulkan 1.3.262 temporarily"
Currently installed version is now 1.3.264, anyways.

This reverts commit ff483081b5.
2023-09-19 16:33:30 +02:00
Martin Pulec
ee1d6146a6 GitHub CI: build with Qt 6
Following to previous commit, we can build with Qt 6 (even thought that
a workaround is neeeded).

qt package (version 6) is installed anyways as a dependency of opencv
2023-09-15 15:36:43 +02:00
Martin Pulec
ff483081b5 CI mac: keep vulkan 1.3.262 temporarily
Install vulkan headers prior to updating homebrew tree.

the version 1.3.264 seem to be temporarily broken (see [1]), producing
error:

    /usr/local/include/vulkan/vulkan.hpp:15:10: fatal error: 'vulkan/vulkan_hpp_macros.hpp' file not found
    #include <vulkan/vulkan_hpp_macros.hpp>

[1]:
https://github.com/MartinPulec/UltraGrid/actions/runs/6184953701/job/16789584064
2023-09-14 16:11:40 +02:00
Martin Pulec
792d5d8b2e CI macOS prepare.sh: removed unneeded env paths 2023-09-14 16:11:40 +02:00
Martin Pulec
d6daa8e9af CI mac: (self-)update Homebrew
the version 4.1.7 in GH runner is unsolicitedly producing
relocatable install names as it would with (in recent HB version)
HOMEBREW_RELOCATABLE_INSTALL_NAMES=1

see failed run:
<https://github.com/CESNET/UltraGrid/actions/runs/6147222102/job/16745596096>

The relocatable install names like:

    $ otool -L /usr/local/opt/qt/lib/QtGui.framework/QtGui | grep png
            @loader_path/../../../../../../../opt/libpng/lib/libpng16.16.dylib

Makes significant problems to macdylibbundler (it doesn't copy the library
to the bundle at all neither chantes the name).

\+ reinstall freetype (see failed build
<https://github.com/MartinPulec/UltraGrid/actions/runs/6185513000/job/16791263362>)
2023-09-14 16:11:39 +02:00
Martin Pulec
44fb3ceb9b gh/scripts/macOS/prepare.sh: standalone install
allow standalone installation of deps (outside GitHub CI) for debugging
2023-09-14 16:11:39 +02:00
Martin Pulec
47b1abfd93 CI mac: enforce use of Qt5 even if Qt6 present
fixes failed run
<https://github.com/CESNET/UltraGrid/actions/runs/5925739298/job/16065753514>

From some point, it seems that Qt6 (Homebrew port _qt_) is already
installed but it doesn't bundle successfully. So enforce using Qt5
(previous symlink command didn't replace the `/usr/local/opt/qt` symlink
if already present).

\+ copy the link instead of linking it to prevent:

    Error: /usr/local/opt/qt@5 is not a valid keg
2023-08-21 14:29:24 +02:00
Martin Pulec
78796781db bundled SoundFount is sf3 2023-05-18 08:43:39 +02:00
Martin Pulec
b8ce258d4d sdl_mixer: try to open from common path
Copy sounfont to known path for macOS and Windows CI builds (in Linux,
this is already handled with a environment var SDL_SOUNDFONTS). And also
use that location if there is any soundfont.
2023-04-28 10:15:11 +02:00
Martin Pulec
6c50f15988 CI mac compilation fix
Fixes failed run:

    https://github.com/CESNET/UltraGrid/actions/runs/4827804161/jobs/8600918491
2023-04-28 09:16:25 +02:00
Martin Pulec
449c03dfcd CI: added caca 2023-03-09 13:27:47 +01:00
Martin Pulec
56ecf79f06 removed remaning cppunit bits 2023-03-07 15:45:46 +01:00
Martin Pulec
498605df74 macOS: replace altool with notarytool 2023-02-17 19:03:56 +01:00
Martin Pulec
e079acbeb4 CI macOS: add readline to PKG_CONFIG_PATH
brew port readline is no longer liked to system path by default.

Fixes failed build:

    https://github.com/MartinPulec/UltraGrid/actions/runs/4202715324/jobs/7291225396
2023-02-17 14:36:44 +01:00
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