Skip to content

Wheel

Wheel #7

Workflow file for this run

name: Wheel
on:
workflow_dispatch:
jobs:
build:
strategy:
max-parallel: 4
# let some wheels complete even if others fail
fail-fast: false
matrix:
os: [ubuntu-latest]
#os: [ubuntu-latest, windows-latest, macos-14, macos-15-intel]
#python_version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python_version: ['3.9']
include:
- os: ubuntu-latest
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
#- os: windows-latest
# platform_id: win_amd64
## macos x86_64 (intel)
#- os: macos-15-intel
# platform_id: macosx_x86_64
## macos arm64 (apple silicon)
#- os: macos-14
# platform_id: macosx_arm64
#- python_version: '3.8'
# python: 38
- python_version: '3.9'
python: 39
#- python_version: '3.10'
# python: 310
#- python_version: '3.11'
# python: 311
#- python_version: '3.12'
# python: 312
#- python_version: '3.13'
# python: 313
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "11.0.20+8" # The JDK version to make available on the path.
java-package: jdk
architecture: x64
- name: Setup Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Installation
run:
|
python -m pip install --upgrade pip
pip install "cython<3.0"
pip install "numpy<2"
pip install -e .
- name: Build Python package
run: python setup.py bdist_wheel
- name: Inspect
run: |
find dist/
#- name: Upload a Build Artifact
# uses: actions/upload-artifact@v4
# with:
# # Artifact name
# name: prokaryote-2.4.4-py2.py3-none-any.whl
# path: dist/