Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on: [push, pull_request]
env:
CIBW_ENVIRONMENT_PASS_LINUX: PYTEST_TIMEOUT
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests"
CIBW_SKIP: "cp38-* pp38-*"
# Free-threaded builds excluded for Python 3.14 because they do not support the limited API
CIBW_SKIP: "cp38-* pp38-* cp314t-*"
PYTEST_TIMEOUT: 60

jobs:
Expand All @@ -19,14 +20,14 @@ jobs:
fetch-depth: 0

- name: Build wheels (manylinux)
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
CIBW_BUILD: "*-manylinux_x86_64"
CIBW_ENABLE: pypy

- name: Build wheels (musllinux)
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
CIBW_BUILD: "*-musllinux_x86_64"
Expand All @@ -47,7 +48,7 @@ jobs:
fetch-depth: 0

- name: Build wheels (manylinux)
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
CIBW_ARCHS_LINUX: aarch64
Expand All @@ -69,7 +70,7 @@ jobs:
fetch-depth: 0

- name: Build wheels (musllinux)
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
CIBW_ARCHS_LINUX: aarch64
Expand Down Expand Up @@ -132,7 +133,7 @@ jobs:
cmake --install .

- name: Build wheels
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_ARCHS_MACOS: "${{ matrix.wheel_arch }}"
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
Expand Down Expand Up @@ -238,15 +239,15 @@ jobs:
shell: cmd

- name: Build wheels
uses: pypa/cibuildwheel@v3.0.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
CIBW_ENABLE: pypy
CIBW_TEST_COMMAND: 'cd /d {project} && pip install --prefer-binary ".[${{ matrix.test_extra }}]" && python -m pytest tests'
# Skip tests for Python 3.10 onwards because SciPy does not have
# 32-bit wheels for Windows any more
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32"
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32 cp314-win32"
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_arch }}-windows-static-md -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -A ${{ matrix.cmake_arch }}
IGRAPH_EXTRA_LIBRARY_PATH: C:/vcpkg/installed/${{ matrix.vcpkg_arch }}-windows-static-md/lib/
IGRAPH_STATIC_EXTENSION: True
Expand Down
Loading