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
24 changes: 12 additions & 12 deletions .github/workflows/python_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Build and upload to PyPI

on: [push]
jobs:
build_linux_wheels_manylinux_2_24:
name: Build wheels for manylinux_2_24
build_linux_wheels_manylinux_2_28:
name: Build wheels for manylinux_2_28
runs-on: ubuntu-latest
env:
CIBW_SKIP: pp* cp27-* cp35-* cp36-* *-i686 *musllinux*
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_24
CIBW_BEFORE_ALL_LINUX: apt-get update -y && apt-get install libsqlite3-dev
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_ARCHS: x86_64
CIBW_BEFORE_ALL_LINUX: dnf makecache && dnf install --assumeyes sqlite-devel
CIBW_BEFORE_BUILD: pip install setuptools scikit-build wheel cmake
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"

Expand All @@ -22,7 +22,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand All @@ -48,7 +48,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand All @@ -72,7 +72,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
dir "C:/vcpkg/installed/x64-windows/bin"

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
dir "C:/vcpkg/installed/x86-windows/bin"

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
pip install setuptools scikit-build wheel cmake

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
path: dist/*.tar.gz

upload_pypi:
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_24, build_linux_wheels_manylinux2014, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_sdist]
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_28, build_linux_wheels_manylinux2014, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
Expand Down