Skip to content

name uploaded artifacts better #255

name uploaded artifacts better

name uploaded artifacts better #255

Workflow file for this run

name: Wheels
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-13, macos-14, windows-2019]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
# Skip Python 32 bit Linux, and PyPy
CIBW_ENVIRONMENT: SNAPPY_ALWAYS_BUILD_CYOPENGL=True
CIBW_ENVIRONMENT_MACOS: >
SNAPPY_ALWAYS_BUILD_CYOPENGL=True
MACOSX_DEPLOYMENT_TARGET=10.12
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-manylinux_i686 *musllinux* pp*"
CIBW_BEFORE_ALL_LINUX: yum install -y tk mesa-libGLU-devel
CIBW_BEFORE_BUILD: >
pip install cython
CIBW_BEFORE_TEST: >
pip install low_index &&
pip install --pre --extra-index-url https://test.pypi.org/simple cypari &&
pip install git+https://github.com/3-manifolds/PLink &&
pip install git+https://github.com/3-manifolds/snappy_manifolds &&
pip install git+https://github.com/3-manifolds/Spherogram
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -m snappy.test --skip-gui
- uses: actions/upload-artifact@v4
with:
name: snappy_${{matrix.os}}_wheels
path: ./wheelhouse/*.whl