mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-06-28 00:19:08 +00:00
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.
30 lines
669 B
YAML
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
|