Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. operability tweaks for clang-format #5422

Merged
merged 6 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions scripts/ci/check_formatting_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ set -e pipefail
ls -la
sudo ./scripts/install-clangformat.sh

if [ -z "$GITHUB_WORKSPACE" ]; then
# Interactive, non-CI use
GITHUB_WORKSPACE=$(dirname $0)/../..
fi

src=$GITHUB_WORKSPACE
cd $src
johnkerl marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
4 changes: 4 additions & 0 deletions scripts/install-clangformat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ install_clang_format() {

run() {
install_clang_format

echo
echo "clang-format --version" $(clang-format --version)
echo
}

run
Loading