ci: Don't enable non-free CUDA

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-05-23 14:19:46 +02:00
parent 7750b0ddab
commit 96e3d9f125
+2 -2
View File
@@ -132,10 +132,10 @@ jobs:
elif (( "${{ steps.data.outputs.version_major }}" >= 3 )); then
if (( "${{ steps.data.outputs.version_minor }}" >= 2 )); then
# 3.2+ has cuda, cuvid, nvenc
echo "::set-output name=flags::--enable-cuda --enable-cuvid --enable-nvenc"
echo "::set-output name=flags::--enable-cuvid --enable-nvenc"
elif (( "${{ steps.data.outputs.version_minor }}" >= 1 )); then
# 3.1 has cuda, nvenc
echo "::set-output name=flags::--enable-cuda --enable-nvenc"
echo "::set-output name=flags::--enable-nvenc"
elif (( "${{ steps.data.outputs.version_minor }}" >= 0 )); then
# 3.0 has nvenc
echo "::set-output name=flags::--enable-nvenc"