mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-10-01 01:50:33 +00:00
Compare commits
3 commits
3ad7a3f659
...
6d448e0857
Author | SHA1 | Date | |
---|---|---|---|
|
6d448e0857 | ||
|
2bc6ba2019 | ||
|
6e6d3a8495 |
2 changed files with 18 additions and 4 deletions
18
.github/workflows/python-publish.yml
vendored
18
.github/workflows/python-publish.yml
vendored
|
@ -46,14 +46,28 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
. ./venv/bin/activate
|
. ./venv/bin/activate
|
||||||
pip install -U twine cibuildwheel
|
pip install -U twine cibuildwheel build
|
||||||
|
|
||||||
- name: Build wheels
|
- name : Build source dist
|
||||||
|
run: |
|
||||||
|
. ./venv/bin/activate
|
||||||
|
python -m build --sdist .
|
||||||
|
|
||||||
|
- name: Build wheels manylinux
|
||||||
run: |
|
run: |
|
||||||
. ./venv/bin/activate
|
. ./venv/bin/activate
|
||||||
python -m cibuildwheel --output-dir dist
|
python -m cibuildwheel --output-dir dist
|
||||||
env:
|
env:
|
||||||
CIBW_BEFORE_BUILD: ./build_wheel.sh
|
CIBW_BEFORE_BUILD: ./build_wheel.sh
|
||||||
|
CIBW_SKIP: "*-musllinux_*"
|
||||||
|
|
||||||
|
- name: Build wheels musllinux
|
||||||
|
run: |
|
||||||
|
. ./venv/bin/activate
|
||||||
|
python -m cibuildwheel --output-dir dist
|
||||||
|
env:
|
||||||
|
CIBW_BEFORE_BUILD: ./build_wheel.sh
|
||||||
|
CIBW_SKIP: "*-manylinux_*"
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -6,7 +6,7 @@ install_enterprise_linux() {
|
||||||
yum install -y epel-release
|
yum install -y epel-release
|
||||||
yum update -y # Update the system
|
yum update -y # Update the system
|
||||||
yum groupinstall -y "Development Tools"
|
yum groupinstall -y "Development Tools"
|
||||||
yum install -y cmake git libusb-devel hdf5-devel
|
yum install -y cmake git libusbx-devel hdf5-devel gcc-c++ python3-devel python3-numpy swig
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to install packages on Debian-based systems (Debian, Ubuntu)
|
# Function to install packages on Debian-based systems (Debian, Ubuntu)
|
||||||
|
@ -18,7 +18,7 @@ install_debian() {
|
||||||
# Function to install packages on Alpine Linux
|
# Function to install packages on Alpine Linux
|
||||||
install_alpine() {
|
install_alpine() {
|
||||||
apk update # Update the system
|
apk update # Update the system
|
||||||
apk add --no-cache build-base cmake git libusb-dev hdf5-dev
|
apk add --no-cache build-base git libusb-dev hdf5-dev g++ python3-dev py3-numpy swig
|
||||||
}
|
}
|
||||||
|
|
||||||
# Determine the Linux distribution and install packages accordingly
|
# Determine the Linux distribution and install packages accordingly
|
||||||
|
|
Loading…
Reference in a new issue