Skip to content

Fix README

Fix README #7

Workflow file for this run

name: Build Eratosthenes Wheels
on:
push:
branches:
- main # Trigger on pushes to the main branch (adjust if needed)
workflow_dispatch: # Allow manual triggering of the workflow
jobs:
build_noble:
runs-on: ubuntu-24.04 # Use a Noble Numbat runner
strategy:
matrix:
platform:
- manylinux_2_39_x86_64
steps:
- name: Checkout Eratosthenes
uses: actions/checkout@v4
- name: Prepare Build Environment (Linux)
run: |
sudo apt-get update
sudo apt-get install -y python3-pybind11
- name: Install Python Dependencies
run: |
mkdir venv
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install wheel setuptools
- name: Build Wheel
run: |
source venv/bin/activate
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyqrack-${{ matrix.platform }}
path: dist/
build_jammy:
runs-on: ubuntu-22.04 # Use a Jammy Jellyfish runner
strategy:
matrix:
platform:
- manylinux_2_35_x86_64
steps:
- name: Checkout Eratosthenes
uses: actions/checkout@v4
- name: Prepare Build Environment (Linux)
run: |
sudo apt-get update
sudo apt-get install -y python3-pybind11
- name: Install Python Dependencies
run: |
mkdir venv
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install wheel setuptools
- name: Build Wheel
run: |
source venv/bin/activate
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyqrack-${{ matrix.platform }}
path: dist/
build_focal:
runs-on: ubuntu-20.04 # Use a Focal Fossa runner
strategy:
matrix:
platform:
- manylinux_2_31_x86_64
steps:
- name: Checkout Eratosthenes
uses: actions/checkout@v4
- name: Prepare Build Environment (Linux)
run: |
sudo apt-get update
sudo apt-get install -y python3-pybind11
- name: Install Python Dependencies
run: |
mkdir venv
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install wheel setuptools
- name: Build Wheel
run: |
source venv/bin/activate
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyqrack-${{ matrix.platform }}
path: dist/