LimeDriverBindings/.github/workflows/python-package.yml

36 lines
735 B
YAML
Raw Normal View History

2024-02-08 14:09:28 +00:00
name: Python package build on Arch Linux
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
2024-02-08 14:26:31 +00:00
- name: Install git
run: |
yes | pacman -Sy git
2024-02-08 14:09:28 +00:00
- name: Checkout repository
uses: actions/checkout@v2
2024-02-08 14:24:47 +00:00
with:
submodules: 'recursive'
2024-02-08 14:09:28 +00:00
- name: Install dependencies
run: |
2024-02-08 14:49:27 +00:00
yes | pacman -S python python-pip hdf5 limesuite python-build automake gcc pkgconf base-devel
2024-02-08 14:09:28 +00:00
- 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/