Martin Pulec
c2e6349238
C/C++ CI: rebuild on any data/ subdir change
...
previously only data/scripts/ were watched
most of the remaining files are deployed for bundle (eg. data/update.mac
in previous commit) so watch all
2023-05-15 12:27:58 +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
028ef7b45e
Coverity CI: set schedule also to Tue 4:00 UTC
...
aligned with ARM builds (same date)
having the timer more often provides quickier feedback
2023-04-04 15:47:49 +02:00
Martin Pulec
9eb376ee38
CI Linux: do not build own SDL2 anymore
...
SDL2 now obviously works on U20.04, because we are building there. It
doesn't work on U22.04, but neither the build with SDL 2.0.20 nor 2.26.2
does.
The problem seems actually to be the inclusion of Wayland libraries in
AppImage.
2023-04-04 12:49:46 +02:00
Martin Piatka
eb7406f06e
CI/Linux: Migrate to Ubuntu 20.04
2023-04-04 10:46:16 +02:00
Martin Pulec
28431e2784
ARM CI: fixed cron schedule line
...
fixes commit 88d7d1eb
2023-03-29 14:54:18 +02:00
Martin Pulec
88d7d1eb8a
CI ARM Linux: run every week on Thursday
...
Caches are deleted if not used for 7 days so if run every week, the
cached environment remains preserved.
2023-03-24 14:06:50 +01:00
Martin Pulec
4f1c1e8999
CI Windows: use curl in bash instead of pwsh
2023-03-23 09:31:34 +01:00
Martin Pulec
4cd7301fae
CI Windows: use yaml shell directive
...
Use MSYS2 shell for Windows runner by default. This makes the workflow
job somehow more natural and easier.
+ `command -v windeployqt-qt6 >/dev/null` was incorrectly in $()
2023-03-23 09:30:49 +01:00
Martin Pulec
66678e6d83
Coverity CI: install deps
...
Install FFmpeg and SDL2 from repositories (in C/C++ CI are used custom
builds for those).
2023-03-20 16:54:28 +01:00
Martin Pulec
c3660529ac
CI: moved configure features to environment.sh
...
- the yaml file is less messed
- all platform features are put together without being spread across the
respecive jobs in the yaml
- $FEATURES are now used also by Coverity CI
2023-03-20 16:54:15 +01:00
Martin Pulec
7ee05dfefd
Coverity CI: ensure that NDI is downloaded
...
Since the commit ee317947 , CI-cached NDI installer in Linux was expected
to be downloaded, but this was not true for the Coverity CI, so add the
download to the job as well as a fallback to the script.
fixes failed run
https://github.com/CESNET/UltraGrid/actions/runs/4464606369/jobs/7840900109
2023-03-20 16:54:12 +01:00
Martin Pulec
25881d6feb
CI ARM Linux: install NDI
2023-03-16 14:00:22 +01:00
Martin Pulec
3235dbba53
CI ARM: copy whole .github subdirectory
...
there will be another files, like install-common-deps.sh that can be used
2023-03-16 14:00:20 +01:00
Martin Pulec
ece4f2d1ca
CI Linux x86-64: ensure accels are compiled-in
2023-03-15 09:06:15 +01:00
Martin Pulec
f293d9708d
configure: simplified sdl handling
...
+ do check only if needed
2023-03-14 13:21:21 +01:00
Martin Pulec
faaebc8e06
CI Linux: ensure that GUI doesn't fail in first 10 secs
2023-03-14 09:59:27 +01:00
Martin Pulec
449c03dfcd
CI: added caca
2023-03-09 13:27:47 +01:00
Martin Pulec
350489d8e1
CI: require screen capture module
...
but require only X11 capture in Linux for now (Ubuntu 18.04 is difficult
to compile required PipeWire version).
2023-02-21 08:55:48 +01:00
Martin Pulec
4e43d566fd
CI: fix Windows build upload workaround
...
Used msys/curl instead of clang64/mingw-w64-clang-x86_64-curl for the
upload.
For whatever reason, the other curl variant ceased to collaborate with
GitHub, see failed run (and subsequent ones):
https://github.com/CESNET/UltraGrid/actions/runs/4223917061/jobs/7334218587
I didn't manage to reproduce it on a local Windows machine so there is
perhaps some hidden factor present.
This change is just a workaround and should be removed when not needed.
2023-02-20 16:58:00 +01:00
Martin Pulec
498605df74
macOS: replace altool with notarytool
2023-02-17 19:03:56 +01:00
Martin Piatka
25987ebc9f
CI: Enable manual trigger
...
Useful for manually triggering a build from a specific branch
2023-01-18 14:29:16 +01:00
Martin Pulec
21cc7be8c7
CI Linux: enable Vulkan
...
enabled Vulkan build on U18.04 runner
2023-01-17 08:56:32 +01:00
Martin Pulec
785d8c0e75
Coverity CI: use at least 2 processes
...
see 97c8eed6
2023-01-09 12:09:03 +01:00
Martin Pulec
97c8eed6a4
CI Coverity: fix build abortion
...
see https://github.com/MartinPulec/UltraGrid/actions/runs/3658131620/jobs/6182827419
For Vulkan, the memory exhaustion perhaps occurs, thus use only one
concurrent process to build.
2022-12-09 17:16:58 +01:00
Martin Pulec
76f713ca16
CI Win: improve potentially space-delim input read
...
Do not use the IFS magic to handle space-delimited libraries, use "while
read" instead. This should fix accidental fails as here:
https://github.com/CESNET/UltraGrid/actions/runs/3477335229/jobs/5813393766
2022-11-16 14:03:51 +01:00
Martin Pulec
4cba76e800
CI Linux: moved the code around a bit
...
It seems like that changing arbitrary packages installed (dependencies
for SDL) cause some FFmpeg dependencies to be rebuild (libvpx, SVT-*).
So revert back to depending on whole .github/scripts/Linux/prepare.sh
but move building/installation of AJA, live555 etc. to separate file
to reduce cached FFmpeg rebuilds at least a bit.
+ removed chmod 777 /usr/local
2022-11-16 11:15:43 +01:00
Martin Pulec
868ddab9be
CI Linux: cache built SDL
2022-11-16 11:13:27 +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
0b4bca9e7d
CI: updated actions/upload-artifact to v3
...
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Interestingly, the warning was triggered by v2 of the artifact but not
v1 (arm-build.yml, not in ccpp.yml, where was even v1 used).
2022-11-08 16:49:37 +01:00
Martin Pulec
925db63ef3
CI ARM: pass env vars to chroot
2022-11-08 16:49:37 +01:00
Martin Pulec
307d5506bb
arm-build.yml: do not attempt to copy a removed file
2022-11-04 13:23:25 +01:00
Martin Pulec
25a7ab2f55
CI ARM: use mkappimage
...
Debian 11 also doesn't have fuse 2 installed by default.
2022-11-01 11:11:45 +01:00
Martin Pulec
fc740f7e4d
CI: use macos-11 for macOS runner
...
macos-latest is now macos-12 in current runs so build it on macOS
11 to support macOSes Big Sur that are still supported by Apple
2022-10-26 14:24:23 +02:00
Martin Pulec
603d5f8b6d
CI: added Soxr
2022-10-26 09:20:49 +02:00
Martin Pulec
0b0fb18747
CI Linux: fixed FFmpeg dep path
2022-10-24 11:49:22 +02:00
Martin Pulec
8ff9156b53
CI Linux: moved FFmpeg deps install to sep file
...
The file with dependencies installation is a prerequisity for FFmpeg
rebuild so move it to a smaller file to reduce number of required FFmpeg
rebuilds if that file changes.
Install libopencv-core-dev instead of libopencv-dev because it
transitively (libopencv-highgui-dev) depend on libswscale-dev that is
going to be removed.
2022-10-21 14:45:18 +02:00
Martin Pulec
8413b6f117
Coverity CI: check result of submission
...
fail if was not successful (eg. quota reached)
2022-10-21 10:56:58 +02:00
Martin Pulec
0e9592fb6d
CI coverity-scan: fixed incorrect workflow update
2022-10-20 08:50:34 +02:00
Martin Pulec
4e8f0da3a6
CI: fixed deprecated syntax
...
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-19 16:07:55 +02:00
Martin Pulec
e94edb767b
CI: updated actions/{cache,checkout} to latest ver
...
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-10-13 09:36:47 +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
69a6e075ba
CI: provide GITHUB_TOKEN to all steps
...
Since now it is used also in different steps (see previous commit), we'd
better provide it globally.
2022-09-26 08:13:50 +02:00
Martin Pulec
d87f3665ac
CI use simplier names to upload artifacts
...
- avoided spaces in names and CI and build keywords
2022-09-16 16:01:07 +02:00
Martin Pulec
912cb8ed38
C/C++ CI: added Arch check
...
- check appimage with Arch and --capabilities - this catches segfault
with incompatible jack implementation in bundle and system
(pipewire-jack package needed)
- use empty directory for container build (instead of ".") also for
Ubuntu (would not needlessly copy contents of current directory to
Docker daemon)
2022-09-14 11:50:08 +02:00
Martin Pulec
e83f41975e
Renamed MIDI to SDL_mixer
...
The capturer should be actually able play at least FLAC, MIDI, mp3,
vorbis or wav.
2022-09-13 16:36:34 +02:00
Martin Pulec
48e8cbaea1
C/C++ CI: added --enable-midi
2022-09-12 16:44:04 +02:00
Martin Pulec
f5114ab793
GitHub CI: ensure resize is enabled
2022-08-11 09:52:39 +02:00
Martin Pulec
49fe808693
GitHub CI Linux: CUDA_HOST_COMPILER no longer needed
2022-08-10 08:14:07 +02:00
Martin Pulec
4089f2e3ef
CI: AJA cleanup
2022-06-14 14:12:57 +02:00