LimeDriverBindings/.github/workflows/python-package-ubuntu.yml
Kumi e0be3eec25
Updated Python command to specify version 3 for
build step

Modified the build command in the CI workflow to explicitly call Python
3 to ensure compatibility and avoid potential conflicts with systems
where Python 2 is the default. This change aligns the build process with
modern Python practices and reduces ambiguity in environments where
multiple Python versions are available.
2024-02-09 13:01:07 +01:00

30 lines
669 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: |
python3 -m build