Commit Graph

97 Commits

Author SHA1 Message Date
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
e351f182cd CI: use SpoutLibrary build 2022-09-15 14:27:22 +02:00
Martin Pulec
5ec962d939 CI Windows/prepare_msys.sh: replace MSYS_REPO
MSYS2 itself uses MINGW_PACKAGE_PREFIX if run with appropriate scripts
so make this similarly.
2022-09-12 16:44:04 +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
4089f2e3ef CI: AJA cleanup 2022-06-14 14:12:57 +02:00
Martin Pulec
00c177d6f2 CI: use AJA from GitHub [Win] 2022-06-14 14:11:50 +02:00
Martin Pulec
3817102bb9 CI: do not install glib (see previous commit) 2022-05-02 16:12:33 +02:00
Martin Pulec
12c6c76655 fixed pacman auto-confirmation in previous commit
+ fixed PATH (missing $)
2022-04-25 09:28:23 +02:00
Martin Pulec
0bd1dfc569 CI Win lib555: use ld from binutils
lld (from clang) didn't work

Fixes failed run:
https://github.com/CESNET/UltraGrid/actions/runs/2207798105
2022-04-22 16:34:41 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Pulec
132569c023 CI Win: use upstream libnatpmp GH repo
The original location sometimes fail with HTTP error code 500 causing
the build to fail. Thus replace it with own libnatpmp mirror (there
isn't any ongoing development, anyway).
2022-04-05 12:52:18 +02:00
Martin Pulec
6c486f07f2 CI Win FFmpeg: use MSYS2 pkg instead of ext. build
Use MSYS2 version instead of external builds from gyan.net. FFmpeg gets
installed as a dependency anyway and this causes crashes because of
binary incompatibility between those two. See failed run:

https://github.com/CESNET/UltraGrid/actions/runs/2076078289
2022-04-05 10:20:44 +02:00
Martin Piatka
b3389d1c56 Github CI: Install GLM from repositiories 2022-03-29 13:41:21 +02:00
Martin Pulec
7846f4afaf CI Win: use up to 10 attempts waiting for NDI inst 2022-03-25 10:26:14 +01:00
Martin Pulec
5edf8a7cda GitHub CI C/C++ [Win]: updated CUDA toolkit
To fix failed run:
https://github.com/MartinPulec/UltraGrid/runs/5646203963

See also e2174fba

+ use network installer again (see 0a1b71789)
2022-03-23 14:09:47 +01:00
Martin Pulec
ac417afbac CI Win: use clang64 env instead ucrt64
Both use ucrt as a C library but ucrt64 (with gcc) presents some
spurious warnings (eg. not knowing "%zu" printf conversion) which makes
it questionable if correct headers are used.
2022-03-23 14:09:46 +01:00
Martin Pulec
8d05cde1a5 GitHub CI Win: install windeployqt for Qt6 2022-03-09 16:29:07 +01:00
Martin Pulec
8b0af756bb GitHub CI C/C++ Win: use Qt 6 2022-03-09 16:09:37 +01:00
Martin Pulec
b5d2f40335 GitHub CI Win: Version.txt is not present in NDI
Windows distribution of NDI usually doesn't contain Version.txt so do
not use it. Moreover the previous way of creating the version file (in
.bashrc) was not perfect.

Write at least NDI major version if NDI_VERSION is not present.
2022-02-22 08:23:07 +01:00
Martin Pulec
e2174fba31 GitHub CI C/C++ [Win]: updated CUDA toolkit
To fix failed run:
https://github.com/CESNET/UltraGrid/actions/runs/1876551209
2022-02-21 16:22:25 +01:00
Martin Pulec
9231848bd5 GitHub CI C/C++ [Win]: fixed JACK2 installation
JACK installed with Chocolatey ceased to run unattendedly thus
installing it directly now.
2022-02-21 14:57:26 +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
b89a02bf4c GitHub CI [Win]: Cineform compilation workaround 2022-02-03 15:41:09 +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
537afd25d9 GitHub CI [Windows, XIMEA]: disable further comps
Disable also all other components except XiApi.

Component names decompiled from installer with 7-zip 15.05, see also
https://nsis.sourceforge.io/Can_I_decompile_an_existing_installer.
2022-01-21 09:08:46 +01:00
Martin Pulec
443b6c9ee4 GitHub CI [Windows, XIMEA]: disable all unneeded components
In order to prevent potential freezes that nondeterministically arise.
2022-01-20 16:30:20 +01:00
Martin Pulec
7b6b782c44 GitHub CI [Windows, XIMEA]: kill installer forcibly after 300 s 2022-01-20 14:04:42 +01:00
Martin Pulec
5a8f4657e8 GitHub CI [Win, NDI]: missing quotes around NDI path
In Windows, it contains spaces.
2022-01-20 09:30:25 +01:00
Martin Pulec
5664c2c9df GitHub CI [Windows]: cache XIMEA 2022-01-19 17:02:44 +01:00
Martin Pulec
587e829387 GitHub CI: enable testcard2 2022-01-19 17:02:42 +01:00
Martin Pulec
06f0ee59b3 GitHub CI [Windows, NDI]: added additional wait if NDI not (yet?) present 2022-01-12 15:35:20 +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
c59aabc856 GitHub CI [Win, VHD]: fixed current (6.18) lib location 2021-12-06 11:52:05 +01:00
Martin Pulec
66a08619c8 GitHub CI [Win, AJA]: AJA 16.1 compat - use glob for VS proj 2021-12-06 10:20:12 +01:00
Martin Pulec
9b25a3898a GitHub CI [Win]: do not remove Dotnet/Android
Removing Android takes very long time (~20 min) and it doesn't need to
be necessary anymore.
2021-11-30 16:27:51 +01:00
Martin Pulec
f5b48ee20e GitHub CI [Win]: enable debug in prepare.ps1
i.a. to determine slowdowns + eventually real debugging
2021-11-30 16:27:50 +01:00
Martin Pulec
d950c966b9 GitHub CI [Win]: use CUDA 11.5
+ derive used version from URL
2021-11-30 16:27:45 +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
f4f7fa3431 GitHub CI [Win]: do not use hardcoded NDI ver 2021-07-20 09:15:34 +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
972d0432c6 GitHub CI [Win]: AJA build fix
Current MSVS requires explicit target "Rebuild" for some reason.
Explicit target "Build" doesn't work for some reason (perhaps some
error in project file?).
2021-06-08 16:04:43 +02:00
Martin Pulec
4f34cd1a61 GitHub CI [Win]: for some reason cmake config must be first
For some reason cmake config must be given prior to --parallel with MSVS
16.10 (didn't seem to be an issue with previous version).
2021-05-31 14:05:06 +02:00
Martin Pulec
a609648be7 GitHub CI [Win]: switched to UCRT
- live555 needs to be rebuilt - decouple from prepare_msys.sh
2021-05-13 09:08:17 +02:00
Martin Pulec
df506f52a9 GitHub CI [Win]: use cmake for Cineform build
+ move to function to be prettier
+ use parallel build
2021-05-08 16:06:59 +02:00