mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-11-06 02:30:04 +00:00
Kumi
d13645c3a5
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.
35 lines
735 B
YAML
35 lines
735 B
YAML
name: Python package build on Arch Linux
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: archlinux:latest
|
|
options: --privileged
|
|
|
|
steps:
|
|
- name: Install git
|
|
run: |
|
|
yes | pacman -Sy git
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
yes | pacman -S python python-pip hdf5 limesuite python-build automake gcc pkgconf base-devel
|
|
|
|
- name: Build the package
|
|
run: |
|
|
python -m build
|
|
|
|
- name: Upload built packages as artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: built-package
|
|
path: dist/
|