mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-10-02 02:10:34 +00:00
Merge branch 'main' of github.com:nqrduck/LimeDriverBindings
This commit is contained in:
commit
68f5b60e93
3 changed files with 40 additions and 0 deletions
36
.github/workflows/python-package.yml
vendored
Normal file
36
.github/workflows/python-package.yml
vendored
Normal 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
1
.gitignore
vendored
|
@ -60,6 +60,7 @@ __pycache__/
|
||||||
build/
|
build/
|
||||||
*.c
|
*.c
|
||||||
*.cpp
|
*.cpp
|
||||||
|
dist/
|
||||||
src/limedriver.egg-info
|
src/limedriver.egg-info
|
||||||
|
|
||||||
# Data
|
# Data
|
||||||
|
|
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
include src/limedriver/*.pyx
|
||||||
|
include extern/limedriver/src/*
|
||||||
|
include extern/limedriver/*
|
Loading…
Reference in a new issue