This commit is contained in:
8
test.sh
8
test.sh
@ -6,14 +6,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
|
||||
echo "Building and testing test_libs..."
|
||||
|
||||
# Build test_libs
|
||||
docker run --rm \
|
||||
-v "${SCRIPT_DIR}/tests:/tests" \
|
||||
-v "${SCRIPT_DIR}/output:/output" \
|
||||
-w /tests/test_libs \
|
||||
gitea.jde.nz/public/dropshell-build-base:latest \
|
||||
sh -c "mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make && cp test_libs /output/"
|
||||
|
||||
# Run test_libs
|
||||
if [ -f "${SCRIPT_DIR}/output/test_libs" ]; then
|
||||
echo "Running test_libs..."
|
||||
|
Reference in New Issue
Block a user