300 Commits

Author SHA1 Message Date
Martin Pulec
00099165d3 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:26:27 +02:00
Martin Pulec
e54cc26d8e AppImage: use scripts from master
This version preloads libva drivers from system if possible.

see #165
2022-10-24 12:24:10 +02:00
Martin Pulec
be641a8d5e fixed pacman auto-confirmation in previous commit
+ fixed PATH (missing $)
2022-10-20 13:33:15 +02:00
Martin Pulec
855293eec0 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-10-20 12:10:31 +02:00
Martin Pulec
f72c6743ec 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-10-20 11:27:38 +02:00
Martin Pulec
f5a068d947 CI: removed PPA for SDL2
see also a2f5a78c and 59871a68
2022-09-23 15:28:17 +02:00
Martin Pulec
702b530866 create_[con_]release.sh: handle HTTP status != 200 2022-08-23 07:50:28 +02:00
Martin Pulec
f628a16a9a CI: json-common.sh - safety check + escape 2022-08-23 07:50:21 +02:00
Martin Pulec
9c79ef9f73 create_release.sh: enable debug output 2022-08-23 07:39:22 +02:00
Martin Pulec
dbe05eab33 create_continuous_release.sh: other fixes
- fetch really 'continuous' release, not $TAG (perhaps c&p error from
  create_release.sh)
- create tag only if not exists
2022-08-23 07:39:22 +02:00
Martin Pulec
492f9b8351 create_continuous_release.sh: force fetch
It looks like git on GH tags without signatures first and thus the
consequent fetch in create_continuous_release.sh fails because it
fetches signed tag (although it is the same object).

See also:
https://github.com/MartinPulec/UltraGrid/actions/runs/2902280934

+ enable debugging in the script (`-x`)
2022-08-23 07:39:22 +02:00
Martin Piatka
5f7ea72c0d CI: Update svt-av1 repo URL 2022-08-22 15:25:05 +02:00
Martin Pulec
4b5eaebafc Revert "GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9"
This reverts commit 9fbd18b53d.
2022-06-21 10:16:08 +02:00
Martin Pulec
7f2d148e9f 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-05-23 10:07:10 +02:00
Martin Pulec
761167c308 C/C++ CI: fixed failed run 658
Fixed failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/2274530865
2022-05-23 10:07:08 +02:00
Martin Pulec
e072dade13 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-11 16:35:24 +02:00
Martin Pulec
a9e6e05b75 GitHub CI Win: install windeployqt for Qt6 2022-03-23 11:12:09 +01:00
Martin Pulec
a5dd3938d7 GitHub CI C/C++ Win: use Qt 6 2022-03-23 11:12:09 +01:00
Martin Pulec
20f107df66 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 09:43:47 +01:00
Martin Pulec
4f42ed73ae GitHub CI [Win]: use CUDA 11.5
+ derive used version from URL
2022-03-23 09:43:46 +01:00
Martin Pulec
cd09212088 GitHub CI C/C++ [Win]: fixed JACK2 installation
JACK installed with Chocolatey ceased to run unattendedly thus
installing it directly now.
2022-03-23 09:43:46 +01:00
Martin Pulec
16108d0f36 GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9
Temporarily disable SVT HEVC/VP9.

With current FFmpeg upstream updates, patch doesn't apply and there is
no simple way to fix now (FFCodec was introduced in addition to AVCodec)
so disable it at least temporarily until the patch is fixed.

References:
- https://github.com/CESNET/UltraGrid/actions/runs/2016955211
- https://github.com/OpenVisualCloud/SVT-HEVC/issues/614
2022-03-23 09:43:44 +01:00
Martin Pulec
12da43bc8a .github/scripts/macOS/sign.sh: do not leak password 2022-03-04 10:14:01 +01:00
Martin Pulec
0627ebee99 GitHub CI [Windows, NDI]: added additional wait if NDI not (yet?) present 2022-01-14 15:51:45 +01:00
Martin Pulec
ff4a320a45 GitHub CI: current NDI bug workaround 2022-01-13 16:43:10 +01:00
Martin Pulec
b7ad3cb9ce create_release.sh: use ATX markdown hdr instead of bold for changes and fixes
This allows having some formatting in FIXES.md, eg. for different minor
versions like that:

    #### 1.7.1
    - changes for 1.7.1
    - another fix in 1.7.1
    ### 1.7.2
    - fixes for 1.7.2

+ join the lines like beginning with spaces more inteligently
2022-01-11 15:44:17 +01:00
Martin Pulec
8645e4bcb4 GitHub CI: download NDI directly from NewTek
and build it unconditionaly.
2022-01-11 13:31:11 +01:00
Martin Pulec
ac6ffee02a 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-11 13:30:51 +01:00
Martin Pulec
81f70742de GitHub CI [Win, VHD]: fixed current (6.18) lib location 2021-12-06 14:10:58 +01:00
Martin Pulec
9d17f00980 GitHub CI [Win, AJA]: AJA 16.1 compat - use glob for VS proj 2021-12-06 14:10:50 +01:00
Martin Pulec
9c6b13a836 GitHub CI: add bugfix changelog to GH release
Fixes are listed in file FIXES.md

+ fix the link to full changelog
2021-12-02 12:11:07 +01:00
Martin Pulec
9eadc71649 create_continuous_release.sh: missing EOF + double-quote vars 2021-11-26 15:45:34 +01:00
Martin Pulec
23b8bfcad6 GitHub CI [Linux]: bundle i965-va-driver-shaders
Bundle i965-va-driver-shaders instead of i965-va-driver. This should be
superior:

"This package contains also contains the non-free encode shaders for
VP8, VP9, HEVC and AVC for generation 7.5 hardware or newer."
2021-11-26 15:45:21 +01:00
Martin Pulec
6441d36f56 GitHub CI [Linux, FFmpeg]: fixed SVT-VP9
Fixed SVT-VP9 patch not applying - we need more repo depth now
 (increased 1000->5000 commits - 2000 would take 18 MiB, 5000 24 MiB,
 which is stil decent).
2021-11-25 13:04:53 +01:00
Martin Pulec
24ce0447d6 s/Short log/Changes/ in GH release 2021-11-09 10:43:08 +01:00
Martin Pulec
ddee6968c8 GitHub CI: create continuous release if needed
For Linux AppImages in release channel, zsync files are stored as an
artefact in continuous release assets so ensure that it is present.
2021-11-03 09:04:45 +01:00
Martin Pulec
61e2bb8adf GitHub CI [Linux]: fixed rav1e build
Cargo 1.56 is needed for cargo-c but 1.55 is in U18 runner ver
20211017.0 thus update as a workaround.

Failed run:
https://github.com/MartinPulec/UltraGrid/actions/runs/1412342915
2021-11-03 08:57:59 +01:00
Martin Pulec
628f3ba74f Add release zsync update files to continuous
As there will be releases 1.7.1, 1.7.2 etc., storing zsync in release
asset doesn't make sense (further version won't update previous update
information). Thus store this in continuous release assets - update
channel "release" was introduced aside to existing "continuous".
2021-11-03 08:55:29 +01:00
Martin Pulec
15f76c08dc GitHub CI [AppImage]: include complete URL for zsync 2021-11-02 15:59:50 +01:00
Martin Pulec
2d3b85eff7 GitHub CI: create release for refs/heads/tags/v* in any repo 2021-11-02 15:59:49 +01:00
Martin Pulec
ec3ffb2753 GitHub CI: updated release life cycle
The release channel is not build from release/ branch, instead a bugfix
version numbers are required and the build is from appropriate tag, eg.
v1.7 (release, should be in master) and then v1.7.1, v1.7.2. The bugfix
releases should have its own entry in NEWS file (create-release.sh makes
GitHub release description from this).
2021-11-02 15:59:49 +01:00
Martin Pulec
32c56a53f8 GitHub CI: Create release also for release/* 2021-11-02 15:59:48 +01:00
Martin Pulec
e3c926c8ff GitHub CI [Linux, FFmpeg]: patch NVENC not to use infinite GOP
Infinite GOP is useless for UltraGrid
2021-09-08 08:25:17 +02:00
Martin Pulec
a4bc123c15 GitHub CI [Linux]: removed FFmpeg patches
Our custom changes are already in FFmpeg upstream.
2021-09-07 11:47:43 +02:00
Martin Pulec
f3a4408eb9 GitHub CI [Linux, FFmpeg]: enable dav1d 2021-08-18 23:45:17 +02:00
Martin Pulec
1769deb53d GitHub CI [Linux, FFmpeg]: use newer x265 2021-08-18 23:19:19 +02:00
Martin Pulec
61232e63c6 GitHub CI [Linux]: cap NV codec version to 11.0
v11.1 requires quite a new driver version (470.57.02 and 471.41) without
useful new features.
2021-08-18 15:03:26 +02:00
Martin Pulec
1fbdb737b4 GitHub CI [Linux]: use updated SDL2 build to fix issues 2021-07-27 11:32:34 +02:00
Martin Pulec
b9c6d2b78d GitHub CI [Mac]: run checks before signing
It is unsure whether wrong bundle would be signed and if not, the
problem may not be easy to find.
2021-07-21 16:10:45 +02:00
Martin Pulec
eb7977c8d8 GitHub CI [Linux, FFmpeg]: build rav1e
+ do not use yasm for SVT - nasm-mozilla (nasm 2.14) installed in
this commit is sufficient
2021-07-21 14:56:24 +02:00