Skip to content

Bump version: 1.4.3 → 1.5.0 #46

Bump version: 1.4.3 → 1.5.0

Bump version: 1.4.3 → 1.5.0 #46

Workflow file for this run

name: usrp_uhd_wrapper
on: [push, pull_request]
jobs:
Testing_and_Deployment:
runs-on: ubuntu-20.04
steps:
- name: Install System Dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y --no-install-recommends software-properties-common
sudo add-apt-repository ppa:ettusresearch/uhd
sudo apt-get update
sudo apt-get install -y --no-install-recommends cmake build-essential libboost-dev libboost-system-dev libuhd-dev uhd-host python3.9-venv python3.9-dev python3-wheel
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup python environment
run: |
python3.9 -m venv .venv
. .venv/bin/activate
pip install wheel
pip install -e .
pip install -r requirements_tests.txt
- name: Build source code
run: |
. .venv/bin/activate
cd uhd_wrapper
mkdir build && cd build
cmake -DINSTALL_SERVICE=OFF ..
make && make install
- name: Run tests
run: |
. .venv/bin/activate
cd uhd_wrapper/build/
ctest -V
cd ../../
sudo ldconfig
pytest .
- name: Create Documentation
run: |
. .venv/bin/activate
pip install -r requirements_doc.txt
cd docs/source && make api && cd ../../
sphinx-build docs/source docs/build
- name: Create github pages
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/build/