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

34 lines
666 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:
- name: Checkout repository
uses: actions/checkout@v2
2024-02-08 14:14:17 +00:00
- name: Get latest package lists
run: |
pacman -Sy
2024-02-08 14:09:28 +00:00
- name: Install dependencies
run: |
2024-02-08 14:21:25 +00:00
yes | pacman -S python python-pip hdf5 limesuite python-build git
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/