ci: use Ninja on linux and macos

This commit is contained in:
Bruno Alexandre Rosa 2025-05-03 02:20:05 -03:00
parent d51620640b
commit b8f4ac3864
9 changed files with 18 additions and 5 deletions

View file

@ -147,6 +147,7 @@ function RUN ()
if [[ $CCACHE_DIR ]]; then
args+=(--mount "type=bind,source=$CCACHE_DIR,target=/.ccache")
args+=(--env "CCACHE_DIR=/.ccache")
args+=(--env "CMAKE_GENERATOR="Ninja"")
fi
docker run "${args[@]}" $RUN_ARGS "$IMAGE_NAME" bash "$BUILD_SCRIPT" $RUN_OPTS "$@"
return $?