-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raluca Groza <[email protected]> (cherry picked from commit a24e263)
- Loading branch information
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
DEBIAN_FRONTEND=noninteractive apt-get install -y rpm | ||
|
||
sudo dpkg -i /ci/build/*.deb | ||
|
||
python3 -m pip install pylibiio --no-binary :all: | ||
|
||
# Build project | ||
mkdir -p build | ||
cd build | ||
sudo cmake -DPYTHON_BINDINGS=ON -DENABLE_PACKAGING=ON -DDEB_DETECT_DEPENDENCIES=ON .. | ||
sudo make && make package && make test | ||
sudo make install | ||
ldconfig | ||
cd .. | ||
cd bindings/python | ||
pip3 install -r requirements_dev.txt | ||
python3 -m pytest -vs --skip-scan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters