CI Linux: trying to install tkinter_gl from wheel because its buildin… #635
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Wheels | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
env: | |
# Skip Python 3.12, 32 bit Linux, and PyPy | |
CIBW_SKIP: "*-manylinux_i686 *musllinux* pp*" | |
CIBW_BEFORE_ALL_LINUX: yum install -y tk mesa-libGLU-devel | |
CIBW_BEFORE_BUILD: > | |
pip install cython FXrays low_index sphinx sphinx_rtd_theme && | |
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_BEFORE_TEST: > | |
pip install cython 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 && | |
pip install https://files.pythonhosted.org/packages/1d/b8/a2e2979750527f291d6e181172e08495ebb65374ee7fbfbfc4fe33094532/tkinter_gl-1.0a2-py3-none-any.whl | |
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel} | |
CIBW_TEST_COMMAND: python -m snappy.test --skip-modern-opengl | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: snappy_linux_wheels | |
path: ./wheelhouse/*.whl |