return value of codelite-make
Posted: Wed May 19, 2021 12:00 pm
Creating github action to test premake with Codelite, I got issue to retrieve build status.
Make generate successfully, but build fails (due to wrong settings in Premake that I want to highlight) but codelite-make still returns 0 (so success in script shell)
Example of action which I expect to fail:
https://github.com/Jarod42/premake-samp ... focus=true (tests project)
I do
Code: Select all
codelite-make --settings=../../../codelite/build_settings.xml --workspace=Project.workspace --project=app --config=Release --command=build --verbose --execute
return $?
to launch build from command line.
Version of Codelite is the one which comes from an apt-get from Ubuntu.