Commit Graph

110 Commits

Author SHA1 Message Date
Martin Pulec
96b9ff511c Win CI scripts: create /usr/local/* if not
Ensure that /usr/local/{bin,include,lib} are created in scrips that copy
to that.

This is not problem for the CI because `.github/scripts/Windows/prepare_msys.sh`
already creates them but the scripts are standalone installers and it
can be run independently by a developer to install the particular dependency.
2023-04-11 13:02:24 +02:00
Martin Pulec
f7c0e8b138 CI Windows: update CUDA to 12.1 2023-03-22 15:51:05 +01:00
Martin Pulec
6b0974d6c3 CI Windows/prepare_msys.sh: use shorter repo prefix
use shorter environment variable for the prefix (readability)
2023-03-09 14:03:55 +01: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
79bfc80fed Revert "GitHub CI Win: curl ca-cert path error workaround"
no longer needed - this has already been fixed in MSYS upstream

This reverts commit 07f5031c70.
2023-01-19 10:10:12 +01:00
Martin Pulec
07f5031c70 GitHub CI Win: curl ca-cert path error workaround
to mitigate some CA bundle path error with mingw-w64-clang-x86_64-curl

    curl: (77) error setting certificate file: C:/msys64/clang64/ssl/certs/ca-bundle.crt

(eg. in https://github.com/MartinPulec/UltraGrid/actions/runs/3946986623/jobs/6755674412)

there should be etc in the path (.../clang64/etc/ssl/...)

This commit should be reverted when fixed in MSYS builds, so:

    /clang64/bin/curl -LS https://raw.githubusercontent.com/hellerf/EmbeddableWebServer/master/EmbeddableWebServer.h

succeeds (without having `/clang64/ssl/certs/ca-bundle.crt` manual copy)
2023-01-18 11:39:04 +01:00
Martin Pulec
8efdce2337 CI: fixed Windows natpmp build error
Fixes failed run  https://github.com/CESNET/UltraGrid/actions/runs/3894640814/jobs/6648919900.

cmd.exe script for unknown reason ceased to work, copied appropriate
parts of script to our script.

+ use shell debug flag for the script
2023-01-12 10:50:47 +01:00
Martin Pulec
9dcceaf3f3 CI: pass GITHUB_TOKEN to bypass rate limiting
see https://github.com/MartinPulec/UltraGrid/actions/runs/3821590834/jobs/6500891823
2023-01-02 11:18:04 +01:00
Martin Pulec
603d5f8b6d CI: added Soxr 2022-10-26 09:20:49 +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
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