media-autobuild_suite
media-autobuild_suite copied to clipboard
exit code 1 despite successful compilation
I am running this in a GitHub runner. It appears that compilation is successful, but exits with error code 1.
Here is the output of the latest run: https://github.com/LizardByte/ffmpeg-prebuilt/runs/7661588462?check_suite_focus=true#step:7:3951
There are a few patches applied to get it to run headless (without prompts), but I don't believe these are causing the exit code 1. (These worked fine previously.)
sed -i 's/do_prompt /echo /g' build/media-suite_helper.sh build/media-suite_compile.sh
sed -i 's/read.*yn/yn=y/g' build/media-suite_update.sh
)
if %noMintty%==y (
call :runBash compile.log /build/media-suite_compile.sh %compileArgs%
) else (
if exist %build%\compile.log del %build%\compile.log
start "compile" /I /LOW %CD%\msys64\usr\bin\mintty.exe -i /msys2.ico -t "media-autobuild_suite" ^
--log 2>&1 %build%\compile.log /bin/env MSYSTEM=%MSYSTEM% MSYS2_PATH_TYPE=inherit ^
/usr/bin/bash ^
--login /build/media-suite_compile.sh %compileArgs%
)
color
exit /B %ERRORLEVEL%
I'm curious if color
is "erroring" out, can you try removing that command and see again?
ping @ReenigneArcher
ping @ReenigneArcher
Sorry, I have not had a chance to dig into this further yet. It's not the easiest to modify and test in a github runner.
Edit: I'll spend some time this week and test it.
I'm now compiling ffmpeg with a custom github workflow without the use of this tool, so closing now. Thank you.