mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-11-18 16:31:00 +00:00
Kumi
aaa68e6973
updated pip install flag The project's CI configuration experienced two main updates: - The Ubuntu-specific Python package build workflow was entirely removed, likely due to standardization across different environments or redundancy with other existing workflows. - Python package installation in the main workflow was amended to include the `--break-system-packages` pip flag, which indicates a shift in handling dependencies that may conflict with system packages. These changes may streamline the CI/CD process and address dependency conflicts during package installation.
43 lines
No EOL
917 B
YAML
43 lines
No EOL
917 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: Install git
|
|
run: |
|
|
yes | pacman -Sy git
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
yes | pacman -S python python-pip hdf5 limesuite python-build automake gcc pkgconf base-devel
|
|
|
|
- name: Install the package
|
|
run: |
|
|
pip install . --break-system-packages
|
|
|
|
- name: Test if the package can be imported
|
|
run: |
|
|
python -m limedriver
|
|
|
|
- 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/ |