mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-28 00:19:08 +00:00
alias Enhanced the GitHub Actions workflow for the Ubuntu environment by including python3-venv to facilitate virtual environment management. Additionally, established python-is-python3 to standardize the Python command, ensuring consistency and avoiding potential versioning issues across different setups.
30 lines
668 B
YAML
30 lines
668 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 python3-build python3-venv python-is-python3
|
|
|
|
- name: Build the package
|
|
run: |
|
|
python -m build
|