ci: update docker base image and prerequisites, catch errors from intermediate test scripts, retry tx/rx tests before failing

This commit is contained in:
grvvy
2023-12-15 14:57:16 -07:00
parent 44c557ae3b
commit c85d6b5245
8 changed files with 20 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
set -e
usbhub --disable-i2c --hub D9D1 power state --port 1,2,3,4 $1
usbhub --disable-i2c --hub 624C power state --port 1,2,3,4 $1
usbhub --disable-i2c --hub 624C power state --port 1,2,3,4 $1

View File

@@ -1,8 +1,9 @@
#!/bin/bash
set -e
git submodule init
git submodule update
mkdir firmware/hackrf_usb/build
cd firmware/hackrf_usb/build
cmake ..
make
cd ../../..
cd ../../..

View File

@@ -1,6 +1,7 @@
#!/bin/bash
set -e
mkdir host/build
cd host/build
cmake ..
make
cd ../..
cd ../..

View File

@@ -15,4 +15,4 @@ then
else
echo "Unknown error"
exit $EXIT_CODE
fi
fi

View File

@@ -18,4 +18,4 @@ then
else
echo "god have mercy on your soul"
exit $EXIT_CODE
fi
fi

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
usbhub --disable-i2c --hub D9D1 power state --port 2 --reset
sleep 1s
host/build/hackrf-tools/src/hackrf_info
@@ -18,4 +18,4 @@ then
else
echo "god have mercy on your soul"
exit $EXIT_CODE
fi
fi