Skip to content

Commit

Permalink
Update CI to use libiio-v1. Disable Windows conda builds for now
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 28, 2023
1 parent 9496ca6 commit e5d2a9b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
15 changes: 14 additions & 1 deletion .github/scripts/install_libiio.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
#!/bin/bash
sudo apt-get -qq update
sudo apt-get install -y git cmake graphviz libavahi-common-dev libavahi-client-dev libaio-dev libusb-1.0-0-dev libxml2-dev rpm tar bzip2 gzip flex bison git
git clone -b 'v0.25' --single-branch --depth 1 https://github.com/analogdevicesinc/libiio.git
git clone -b 'main' --single-branch --depth 1 https://github.com/analogdevicesinc/libiio.git
cd libiio
cmake . -DHAVE_DNS_SD=OFF
make
sudo make install
cd ..
rm -rf libiio

# Python pieces
sudo apt-get install -y python3-pip python3-setuptools
git clone -b 'main' --single-branch --depth 1 https://github.com/analogdevicesinc/libiio.git
cd libiio
cmake . -DHAVE_DNS_SD=OFF -DPYTHON_BINDINGS=ON
make
cd bindings/python
pip install .
cd ../..
cd ..
rm -rf libiio
2 changes: 1 addition & 1 deletion .github/scripts/install_part_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ sudo ldconfig
cd ..
rm -rf libad9166-iio

pip install pylibiio==0.23.1
# pip install pylibiio==0.23.1
2 changes: 1 addition & 1 deletion .github/scripts/install_pydeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
sudo apt-get install -y python3-pip python3-setuptools
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install pylibiio
# pip install pylibiio
3 changes: 2 additions & 1 deletion .github/workflows/win-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Windows Tests

on: [push, pull_request]
# on: [push, pull_request]
on: [pull_request]

jobs:
CondaBased:
Expand Down

0 comments on commit e5d2a9b

Please sign in to comment.