Add GitHub workflow for Ubuntu build; remove

token, update submodule

Introduced a new GitHub Actions workflow to automate Python package
builds on Ubuntu environments upon push or pull request events. This
addition ensures the compatibility of the package on the Ubuntu platform
and streamlines the continuous integration process.

Updated the limedriver submodule to the latest commit, keeping the
project in sync with recent upstream changes and maintaining the
integrity of external dependencies.
This commit is contained in:
Kumi 2024-02-09 12:53:59 +01:00
parent c98ffcb56c
commit d13645c3a5
Signed by: kumi
GPG key ID: ECBCC9082395383F
3 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,29 @@
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

View file

@ -19,7 +19,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |

2
extern/limedriver vendored

@ -1 +1 @@
Subproject commit a6b8a3fd672cc1d32f74e2e9b8a188f0d522b990
Subproject commit 40245eabe92c7c6ca1aa72dfad6c42ef44b9c85c