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