#!/bin/bash

set -e

cd github/$KOKORO_DIR/

source ./.github/kokoro/steps/hostsetup.sh
source ./.github/kokoro/steps/hostinfo.sh
source ./.github/kokoro/steps/git.sh

echo
echo "==========================================="
echo "Building Surelog"
echo "-------------------------------------------"
(
	make release
)
echo "-------------------------------------------"

echo
echo "==========================================="
echo "Installing Surelog"
echo "-------------------------------------------"
(
	sudo make install
)
echo "-------------------------------------------"

echo
echo "==========================================="
echo "Executing Surelog tests"
echo "-------------------------------------------"
(
	make test_install
	make test
)
echo "-------------------------------------------"

#!/bin/bash

set -e

cd github/$KOKORO_DIR/

source ./.github/kokoro/steps/hostsetup.sh
source ./.github/kokoro/steps/hostinfo.sh
source ./.github/kokoro/steps/git.sh

echo
echo "==========================================="
echo "Building Surelog"
echo "-------------------------------------------"
(
	make -j4 release
)
echo "-------------------------------------------"

echo
echo "==========================================="
echo "Installing Surelog"
echo "-------------------------------------------"
(
	sudo make install
)
echo "-------------------------------------------"

echo
echo "==========================================="
echo "Executing Surelog tests"
echo "-------------------------------------------"
(
	make test_install
	make test
)
echo "-------------------------------------------"

Build Surelog with -j in kokoro
Build Surelog with -j in kokoro

Signed-off-by: Rafal Kapuscik <6a7be3d4d2afb8bd1d0b737d2f237a3071b5d393@antmicro.com>
