From 94f0ec1d84ae47e85a56472227a88d90f28fe9c8 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Mon, 24 Jul 2023 18:01:02 +0200 Subject: [PATCH] ci(scripts/build_ubuntu.sh): Fixed build script for Ubuntu builds --- scripts/build_ubuntu.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/build_ubuntu.sh b/scripts/build_ubuntu.sh index 084267b..6fdea1c 100755 --- a/scripts/build_ubuntu.sh +++ b/scripts/build_ubuntu.sh @@ -1,10 +1,11 @@ #!/bin/sh # +set -e apt update -apt install -y python3-venv libopenblas-dev python3-pip libusb-1.0-0-dev libpulse-dev python3-build +apt install -y python3-virtualenv libopenblas-dev python3-pip libusb-1.0-0-dev libpulse-dev python3-build git submodule update --init --recursive -pyproject-build -python -m venv .venv +python3 -m build +python3 -m venv .venv source .venv/bin/activate pip install pytest pip install dist/lasp-*linux_x86_64.whl