aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-09-25 22:13:56 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-10-30 15:23:42 -0400
commit7ad36a21644a1eadfc449a56f4756b9c1fa56f88 (patch)
treea4ad896ab5771436c418510a42dc5fbaeccfc18c /scripts
parent21ba8a9d7a7a4721a77f741b4e75a7806b0d67e1 (diff)
downloadkutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.tar.gz
kutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.tar.xz
kutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.zip
github: Run continuous integration tests using "github actions"
Use "github actions" instead of "travis ci" for the automatic build regression tests. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis-build.sh8
-rwxr-xr-xscripts/travis-install.sh4
2 files changed, 5 insertions, 7 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh
index 2cd96631..19877bf6 100755
--- a/scripts/travis-build.sh
+++ b/scripts/travis-build.sh
@@ -18,8 +18,7 @@ PYTHON=${BUILD_DIR}/python-env/bin/python
start_test()
{
- echo "travis_fold:start:$1"
- echo "=============== $2"
+ echo "::group::=============== $1 $2"
set -x
}
@@ -27,7 +26,7 @@ finish_test()
{
set +x
echo "=============== Finished $2"
- echo "travis_fold:end:$1"
+ echo "::endgroup::"
}
@@ -64,9 +63,6 @@ done
# Verify klippy host software
######################################################################
-HOSTDIR=${BUILD_DIR}/hosttest
-mkdir -p ${HOSTDIR}
-
start_test klippy "Test invoke klippy"
$PYTHON scripts/test_klippy.py -d ${DICTDIR} test/klippy/*.test
finish_test klippy "Test invoke klippy"
diff --git a/scripts/travis-install.sh b/scripts/travis-install.sh
index b0192e7c..d0f42c41 100755
--- a/scripts/travis-install.sh
+++ b/scripts/travis-install.sh
@@ -43,7 +43,9 @@ PRU_DIR=${BUILD_DIR}/pru-gcc
if [ ! -f ${PRU_FILE} ]; then
cd ${BUILD_DIR}
- git clone https://github.com/dinuxbg/gnupru -b 2018.03-beta-rc3
+ git config --global user.email "you@example.com"
+ git config --global user.name "Your Name"
+ git clone https://github.com/dinuxbg/gnupru -b 2018.03-beta-rc3 --depth 1
cd gnupru
export PREFIX=${PRU_DIR}
./download-and-patch.sh 2>&1 | pv -nli 30 > ${BUILD_DIR}/gnupru-build.log