LimeDriverBindings/.github/workflows/python-package.yml
2024-02-08 15:21:25 +01:00

33 lines
666 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: Checkout repository
uses: actions/checkout@v2
- name: Get latest package lists
run: |
pacman -Sy
- name: Install dependencies
run: |
yes | pacman -S python python-pip hdf5 limesuite python-build git
- 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/