Compare commits

...

3 commits

Author SHA1 Message Date
jupfi 6d448e0857 Splitting up build into multiple jobs to avoid timeout. 2024-04-22 19:57:29 +02:00
Pfitzer, Julia 2bc6ba2019 Removed sudo. 2024-04-22 13:24:17 +02:00
Pfitzer, Julia 6e6d3a8495 Added dependencies. 2024-04-22 13:19:54 +02:00
2 changed files with 18 additions and 4 deletions

View file

@ -46,14 +46,28 @@ jobs:
run: |
python -m venv venv
. ./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: |
. ./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: |

View file

@ -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 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)
@ -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 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