Skip to content

Commit

Permalink
CI: install lnav outside of CI environments (#6222)
Browse files Browse the repository at this point in the history
  • Loading branch information
cce authored Jan 15, 2025
1 parent 9a6c23f commit afb8216
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/algorand_node_log.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"algorand_node_log" : {
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"title" : "Algorand Node Log Format",
"description" : "Log format for logrus, used by go-algorand.",
"url" : "https://github.com/sirupsen/logrus",
Expand Down
4 changes: 4 additions & 0 deletions scripts/configure_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ elif [ "${OS}" = "darwin" ]; then
install_or_upgrade automake
install_or_upgrade python3
install_or_upgrade diffutils
if [ "$CI" != "true" ] && [ "$CIRCLECI" != "true" ]; then
install_or_upgrade lnav
lnav -i "$SCRIPTPATH/algorand_node_log.json"
fi
elif [ "${OS}" = "windows" ]; then
if ! $msys2 pacman -S --disable-download-timeout --noconfirm git automake autoconf m4 libtool make mingw-w64-x86_64-gcc mingw-w64-x86_64-python mingw-w64-x86_64-jq unzip procps; then
echo "Error installing pacman dependencies"
Expand Down

0 comments on commit afb8216

Please sign in to comment.