Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffav authored Mar 5, 2021
1 parent 2818594 commit c7701e1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
#!/bin/sh -l

# Testing script for CI.

# echo commands and exit with failure if any commands fail
set -ex

apt-get update

apt-get install -y \
clang-format

./ci.sh

# Check formatting
./format/check.sh
format_ret=$?

# disable echo for summaries
set +x

# print summaries
echo format return $format_ret

status=$(format_ret)
echo exit status $status

exit $status

0 comments on commit c7701e1

Please sign in to comment.