Merge branch 'main' of github.com:nqrduck/LimeDriverBindings

This commit is contained in:
jupfi 2024-02-08 16:22:43 +01:00
commit 68f5b60e93
3 changed files with 40 additions and 0 deletions

36
.github/workflows/python-package.yml vendored Normal file
View file

@ -0,0 +1,36 @@
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'
token: ${{ secrets.GITHUB_TOKEN }}
- 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/

1
.gitignore vendored
View file

@ -60,6 +60,7 @@ __pycache__/
build/
*.c
*.cpp
dist/
src/limedriver.egg-info
# Data

3
MANIFEST.in Normal file
View file

@ -0,0 +1,3 @@
include src/limedriver/*.pyx
include extern/limedriver/src/*
include extern/limedriver/*