Commit Graph

215 Commits

Author SHA1 Message Date
Martin Pulec
594e81addf 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-06 14:49:57 +02:00
Martin Piatka
740543be00 CI/Linux: Migrate to Ubuntu 20.04 2023-04-06 14:49:39 +02:00
Martin Pulec
f4fdf7e707 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-03-21 12:39:42 +01:00
Martin Pulec
756a92f93f macOS: replace altool with notarytool 2023-02-21 11:35:12 +01:00
Martin Pulec
3212e86efc CI Linux: enable Vulkan
enabled Vulkan build on U18.04 runner
2023-01-18 09:08:32 +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
Martin Pulec
00c177d6f2 CI: use AJA from GitHub [Win] 2022-06-14 14:11:50 +02:00
Martin Pulec
189c2b4211 AppImage: use static runtime
Ubuntu 22.04 no longer contains libfuse.so.2 but ships libfuse.so.3
instead preventing AppImage from run (dlopens version 2).
2022-05-30 15:51:50 +02:00
Martin Pulec
656e6fa107 CI: run on pull request 2022-05-10 11:16:18 +02:00
Martin Pulec
557dfb39d8 CI: use glfw instead of glut 2022-04-20 09:39:02 +02:00
Martin Pulec
18f0496084 CI: fixed on schedule workflows
- run on schedule only in CESNET/UltraGrid repo
- otherwise run only if pushing to respective branches
- run Coverity scan earlier (4:00 UTC)
2022-04-20 08:35:47 +02:00
Martin Pulec
8cb8c9601a GitHub CI ARM: fixed workflow
Upload result to release artifacts also when scheduled in main repo
(github.ref != 'refs/heads/arm-build').

+ do not repeat the inverted condition but rather upload the artifact
  if release artefact was not uploaded
2022-03-22 15:46:28 +01:00
Martin Pulec
8d05cde1a5 GitHub CI Win: install windeployqt for Qt6 2022-03-09 16:29:07 +01:00
Martin Pulec
c9661c4e67 GitHub CI Coverity: use full path for the cache
For some reason, using implicit path caused the Coverity tool not to be
stored ("Cache Size: ~0 MB (22 B)" in Post Cache step).
2022-02-21 15:32:03 +01:00
Martin Pulec
960d231574 GitHub CI Coverity: move conditional to every step
See also:
https://github.com/actions/runner/issues/520
2022-02-21 09:48:31 +01:00
Martin Pulec
59a58d9966 GitHub CI Coverity: do not clone submodules 2022-02-21 09:48:31 +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 Piatka
263a3e945f GitHub CI: Fix cron string
The order of values is minute, hour, day-of-month, month, day-of-week
2022-02-02 10:26:19 +01:00
Martin Pulec
ecc26b813a GitHub CI ARM: run automatically 20th day of month
run only in main repo on schedule
2022-02-01 14:48:47 +01:00
Martin Pulec
23c4b87611 GitHub CI Coverity: run automatically 20th day of month
if coverity token is present
2022-02-01 14:45:45 +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 Piatka
0ebe68691a Revert "GitHub CI [Windows]: disable holepunch - doesn't compile"
This reverts commit 880640a604.
2022-01-14 12:06:34 +01:00
Martin Pulec
880640a604 GitHub CI [Windows]: disable holepunch - doesn't compile 2022-01-14 08:18:10 +01:00
Martin Pulec
d2a69e461e GitHub CI: dump config.log if configure failed 2022-01-13 16:59:01 +01:00
Martin Pulec
fb79b23ef9 GitHub CI: enable UDP hole punching 2022-01-12 15:05:27 +01:00