mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-11-16 15:31:02 +00:00
Kumi
a137c3b914
Ensured that liblimesuite-dev package is installed as part of the dependencies for our GitHub Actions workflow. This is to address missing development headers required for interfacing with LimeSuite in our Python package build process.
38 lines
845 B
YAML
38 lines
845 B
YAML
name: Python package build on Ubuntu
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Update package list
|
|
run: |
|
|
sudo apt-get update
|
|
|
|
- name: Install git
|
|
run: |
|
|
sudo apt-get install -y git
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Set up Python 3.10
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.10"
|
|
|
|
- name: Prepare Python environment
|
|
run: |
|
|
pip install --upgrade pip h5py setuptools wheel build
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get install -y libhdf5-dev limesuite liblimesuite-dev automake gcc pkg-config build-essential python-is-python3
|
|
|
|
- name: Build the package
|
|
run: |
|
|
python -m build
|