Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hack ci to run as a shard to measure the time
  • Loading branch information
gaaclarke committed Nov 4, 2022
commit e4589631d6c3f550fa589db0d151a2033a8cbc21
6 changes: 6 additions & 0 deletions ci/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ if [ ! -f "$COMPILE_COMMANDS" ]; then
(cd "$SRC_DIR"; ./flutter/tools/gn)
fi


cd $SRC_DIR
flutter/tools/gn --ios

echo "$(date +%T) Running clang_tidy"

cd "$SCRIPT_DIR"
Expand All @@ -49,6 +53,8 @@ cd "$SCRIPT_DIR"
"$SRC_DIR/flutter/tools/clang_tidy/bin/main.dart" \
--src-dir="$SRC_DIR" \
--mac-host-warnings-as-errors="$MAC_HOST_WARNINGS_AS_ERRORS" \
--shard-variants="ios_debug"
--shard-id 0
"$@"

echo "$(date +%T) Running pylint"
Expand Down