mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-07-01 01:36:40 +00:00
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:
parent
c98ffcb56c
commit
d13645c3a5
29
.github/workflows/python-package-ubuntu.yml
vendored
Normal file
29
.github/workflows/python-package-ubuntu.yml
vendored
Normal 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
|
1
.github/workflows/python-package.yml
vendored
1
.github/workflows/python-package.yml
vendored
|
@ -19,7 +19,6 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
2
extern/limedriver
vendored
2
extern/limedriver
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit a6b8a3fd672cc1d32f74e2e9b8a188f0d522b990
|
Subproject commit 40245eabe92c7c6ca1aa72dfad6c42ef44b9c85c
|
Loading…
Reference in a new issue