mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-11-06 02:30:04 +00:00
Kumi
7aa4df9d2c
Ensure the Python version is specified as a string in the Ubuntu workflow configuration to prevent potential parsing issues by the setup-python GitHub Action. This update aligns with the recommended practices for YAML file consistency and compatibility.
38 lines
828 B
YAML
38 lines
828 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 automake gcc pkg-config build-essential python-is-python3
|
|
|
|
- name: Build the package
|
|
run: |
|
|
python -m build
|