mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-30 09:19:08 +00:00
30 lines
623 B
YAML
30 lines
623 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: Install dependencies
|
||
|
run: |
|
||
|
sudo apt-get install -y python3 python3-pip libhdf5-dev limesuite python3-setuptools automake gcc pkg-config build-essential
|
||
|
|
||
|
- name: Build the package
|
||
|
run: |
|
||
|
python -m build
|