mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-19 19:15:19 +00:00
Meta: Make missing optipng fatal in CI
This commit is contained in:
parent
e51f062d6b
commit
0a9c66ef07
Notes:
github-actions[bot]
2025-02-12 17:38:58 +00:00
Author: https://github.com/InvalidUsernameException Commit: https://github.com/LadybirdBrowser/ladybird/commit/0a9c66ef075 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3544 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
|||
cd "${script_path}/.."
|
||||
|
||||
if ! command -v optipng >/dev/null ; then
|
||||
if [[ "$GITHUB_ACTIONS" == "true" ]]; then
|
||||
echo 'optipng is not installed, failing check because running in CI.'
|
||||
exit 1
|
||||
fi
|
||||
echo 'optipng is not installed, skipping png size check.'
|
||||
echo 'Please install optipng for your system to run this check.'
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue